summaryrefslogtreecommitdiff
path: root/libjava/classpath/native/jni/qt-peer/slotcallbacks.h
blob: 88c292ce79baa1eb4fba50f21271671b0ea41ada (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef SLOTCALLBACKS_H
#define SLOTCALLBACKS_H

#include <QAbstractButton>
#include <QAbstractSlider>
#include <QAction>
#include <QComboBox>
#include <QListWidget>
#include <QLineEdit>
#include <QPushButton>
#include <QScrollBar>
#include <QTextEdit>
#include <jni.h>

void connectButton(QPushButton *button, JNIEnv *env, jobject buttonobj);
void connectChoice(QComboBox *choice, JNIEnv *env, jobject choiceobj);
void connectAction(QAction *action, JNIEnv *env, jobject obj);
void connectToggle(QAbstractButton *action, JNIEnv *env, jobject obj);
void connectScrollBar(QScrollBar *scroll, JNIEnv *env, jobject obj);
void connectList(QListWidget *list, JNIEnv *env, jobject choiceobj);
void connectTextEdit(QTextEdit *edit, JNIEnv *env, jobject obj);
void connectLineEdit(QLineEdit *edit, JNIEnv *env, jobject obj);

#endif