blob: 88c292ce79baa1eb4fba50f21271671b0ea41ada [file] [log] [blame]
#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