summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QEventLoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QEventLoop.cpp')
-rw-r--r--qtjava/javalib/qtjava/QEventLoop.cpp122
1 files changed, 61 insertions, 61 deletions
diff --git a/qtjava/javalib/qtjava/QEventLoop.cpp b/qtjava/javalib/qtjava/QEventLoop.cpp
index 4400513f..68bd1f39 100644
--- a/qtjava/javalib/qtjava/QEventLoop.cpp
+++ b/qtjava/javalib/qtjava/QEventLoop.cpp
@@ -1,6 +1,6 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qstring.h>
-#include <qeventloop.h>
+#include <tqstring.h>
+#include <tqeventloop.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QEventLoop.h>
@@ -8,82 +8,82 @@
class QEventLoopJBridge : public QEventLoop
{
public:
- QEventLoopJBridge(QObject* arg1,const char* arg2) : QEventLoop(arg1,arg2) {};
- QEventLoopJBridge(QObject* arg1) : QEventLoop(arg1) {};
- QEventLoopJBridge() : QEventLoop() {};
+ QEventLoopJBridge(TQObject* arg1,const char* arg2) : TQEventLoop(arg1,arg2) {};
+ QEventLoopJBridge(TQObject* arg1) : TQEventLoop(arg1) {};
+ QEventLoopJBridge() : TQEventLoop() {};
void public_exit() {
- QEventLoop::exit();
+ TQEventLoop::exit();
return;
}
void public_exitLoop() {
- QEventLoop::exitLoop();
+ TQEventLoop::exitLoop();
return;
}
void public_wakeUp() {
- QEventLoop::wakeUp();
+ TQEventLoop::wakeUp();
return;
}
~QEventLoopJBridge() {QtSupport::qtKeyDeleted(this);}
- void unregisterSocketNotifier(QSocketNotifier* arg1) {
- if (!QtSupport::eventDelegate(this,"unregisterSocketNotifier",(void*)arg1,"org.kde.qt.QSocketNotifier")) {
- QEventLoop::unregisterSocketNotifier(arg1);
+ void unregisterSocketNotifier(TQSocketNotifier* arg1) {
+ if (!QtSupport::eventDelegate(this,"unregisterSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) {
+ TQEventLoop::unregisterSocketNotifier(arg1);
}
return;
}
- void removeChild(QObject* arg1) {
- if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
- QObject::removeChild(arg1);
+ void removeChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
+ TQObject::removeChild(arg1);
}
return;
}
void exitLoop() {
- if (!QtSupport::voidDelegate(this,"org.kde.qt.QEventLoop","exitLoop")) {
- QEventLoop::exitLoop();
+ if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","exitLoop")) {
+ TQEventLoop::exitLoop();
}
return;
}
- void customEvent(QCustomEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
- QObject::customEvent(arg1);
+ void customEvent(TQCustomEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
+ TQObject::customEvent(arg1);
}
return;
}
void wakeUp() {
- if (!QtSupport::voidDelegate(this,"org.kde.qt.QEventLoop","wakeUp")) {
- QEventLoop::wakeUp();
+ if (!QtSupport::voidDelegate(this,"org.kde.qt.TQEventLoop","wakeUp")) {
+ TQEventLoop::wakeUp();
}
return;
}
- void registerSocketNotifier(QSocketNotifier* arg1) {
- if (!QtSupport::eventDelegate(this,"registerSocketNotifier",(void*)arg1,"org.kde.qt.QSocketNotifier")) {
- QEventLoop::registerSocketNotifier(arg1);
+ void registerSocketNotifier(TQSocketNotifier* arg1) {
+ if (!QtSupport::eventDelegate(this,"registerSocketNotifier",(void*)arg1,"org.kde.qt.TQSocketNotifier")) {
+ TQEventLoop::registerSocketNotifier(arg1);
}
return;
}
- void timerEvent(QTimerEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
- QObject::timerEvent(arg1);
+ void timerEvent(TQTimerEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
+ TQObject::timerEvent(arg1);
}
return;
}
- void childEvent(QChildEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
- QObject::childEvent(arg1);
+ void childEvent(TQChildEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
+ TQObject::childEvent(arg1);
}
return;
}
bool hasPendingEvents() {
return QtSupport::booleanDelegate(this,"hasPendingEvents");
}
- void insertChild(QObject* arg1) {
- if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
- QObject::insertChild(arg1);
+ void insertChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
+ TQObject::insertChild(arg1);
}
return;
}
- bool eventFilter(QObject* object,QEvent* event) {
- if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.QEventLoop",object,event)) {
- return QObject::eventFilter(object,event);
+ bool eventFilter(TQObject* object,TQEvent* event) {
+ if (!QtSupport::eventFilterDelegate(this,"org.kde.qt.TQEventLoop",object,event)) {
+ return TQObject::eventFilter(object,event);
} else {
return TRUE;
}
@@ -93,14 +93,14 @@ public:
JNIEXPORT jint JNICALL
Java_org_kde_qt_QEventLoop_activateSocketNotifiers(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QEventLoop*) QtSupport::getQt(env, obj))->activateSocketNotifiers();
+ jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->activateSocketNotifiers();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QEventLoop_activateTimers(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QEventLoop*) QtSupport::getQt(env, obj))->activateTimers();
+ jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->activateTimers();
return xret;
}
@@ -108,7 +108,7 @@ JNIEXPORT jstring JNICALL
Java_org_kde_qt_QEventLoop_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
- _qstring = ((QEventLoop*) QtSupport::getQt(env, obj))->className();
+ _qstring = ((TQEventLoop*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -122,14 +122,14 @@ Java_org_kde_qt_QEventLoop_dispose(JNIEnv* env, jobject obj)
JNIEXPORT jint JNICALL
Java_org_kde_qt_QEventLoop_enterLoop(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QEventLoop*) QtSupport::getQt(env, obj))->enterLoop();
+ jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->enterLoop();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QEventLoop_exec(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QEventLoop*) QtSupport::getQt(env, obj))->exec();
+ jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->exec();
return xret;
}
@@ -150,15 +150,15 @@ Java_org_kde_qt_QEventLoop_exit__(JNIEnv* env, jobject obj)
JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_exit__I(JNIEnv* env, jobject obj, jint retcode)
{
- ((QEventLoop*) QtSupport::getQt(env, obj))->exit((int) retcode);
+ ((TQEventLoop*) QtSupport::getQt(env, obj))->exit((int) retcode);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_finalize(JNIEnv* env, jobject obj)
{
- if (QtSupport::allocatedInJavaWorld(env, obj) && ((QEventLoop*)QtSupport::getQt(env, obj))->parent() == 0) {
- delete (QEventLoop*)QtSupport::getQt(env, obj);
+ if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQEventLoop*)QtSupport::getQt(env, obj))->parent() == 0) {
+ delete (TQEventLoop*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -167,7 +167,7 @@ Java_org_kde_qt_QEventLoop_finalize(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QEventLoop_hasPendingEvents(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QEventLoop*) QtSupport::getQt(env, obj))->hasPendingEvents();
+ jboolean xret = (jboolean) ((TQEventLoop*) QtSupport::getQt(env, obj))->hasPendingEvents();
return xret;
}
@@ -180,14 +180,14 @@ Java_org_kde_qt_QEventLoop_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jint JNICALL
Java_org_kde_qt_QEventLoop_loopLevel(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QEventLoop*) QtSupport::getQt(env, obj))->loopLevel();
+ jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->loopLevel();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QEventLoop_metaObject(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((QEventLoop*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TQEventLoop*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
@@ -205,7 +205,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_newQEventLoop__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QEventLoopJBridge((QObject*) QtSupport::getQt(env, parent)));
+ QtSupport::setQt(env, obj, new QEventLoopJBridge((TQObject*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -214,9 +214,9 @@ Java_org_kde_qt_QEventLoop_newQEventLoop__Lorg_kde_qt_QObject_2(JNIEnv* env, job
JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_newQEventLoop__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
-static QCString* _qstring_name = 0;
+static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QEventLoopJBridge((QObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
+ QtSupport::setQt(env, obj, new QEventLoopJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -225,44 +225,44 @@ static QCString* _qstring_name = 0;
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QEventLoop_processEvents__I(JNIEnv* env, jobject obj, jint flags)
{
- jboolean xret = (jboolean) ((QEventLoop*) QtSupport::getQt(env, obj))->processEvents((QEventLoop::ProcessEventsFlags) flags);
+ jboolean xret = (jboolean) ((TQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TQEventLoop::ProcessEventsFlags) flags);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_processEvents__II(JNIEnv* env, jobject obj, jint flags, jint maxtime)
{
- ((QEventLoop*) QtSupport::getQt(env, obj))->processEvents((QEventLoop::ProcessEventsFlags) flags, (int) maxtime);
+ ((TQEventLoop*) QtSupport::getQt(env, obj))->processEvents((TQEventLoop::ProcessEventsFlags) flags, (int) maxtime);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_registerSocketNotifier(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QEventLoop*) QtSupport::getQt(env, obj))->registerSocketNotifier((QSocketNotifier*) QtSupport::getQt(env, arg1));
+ ((TQEventLoop*) QtSupport::getQt(env, obj))->registerSocketNotifier((TQSocketNotifier*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_setSocketNotifierPending(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QEventLoop*) QtSupport::getQt(env, obj))->setSocketNotifierPending((QSocketNotifier*) QtSupport::getQt(env, arg1));
+ ((TQEventLoop*) QtSupport::getQt(env, obj))->setSocketNotifierPending((TQSocketNotifier*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QEventLoop_timeToWait(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QEventLoop*) QtSupport::getQt(env, obj))->timeToWait();
+ jint xret = (jint) ((TQEventLoop*) QtSupport::getQt(env, obj))->timeToWait();
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
- QString _qstring;
+ TQString _qstring;
(void) cls;
-static QCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg1 = 0;
_qstring = QEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return QtSupport::fromQString(env, &_qstring);
}
@@ -270,10 +270,10 @@ static QCString* _qstring_arg1 = 0;
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QEventLoop_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
- QString _qstring;
+ TQString _qstring;
(void) cls;
-static QCString* _qstring_arg1 = 0;
-static QCString* _qstring_arg2 = 0;
+static TQCString* _qstring_arg1 = 0;
+static TQCString* _qstring_arg2 = 0;
_qstring = QEventLoopJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
return QtSupport::fromQString(env, &_qstring);
}
@@ -281,7 +281,7 @@ static QCString* _qstring_arg2 = 0;
JNIEXPORT void JNICALL
Java_org_kde_qt_QEventLoop_unregisterSocketNotifier(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QEventLoop*) QtSupport::getQt(env, obj))->unregisterSocketNotifier((QSocketNotifier*) QtSupport::getQt(env, arg1));
+ ((TQEventLoop*) QtSupport::getQt(env, obj))->unregisterSocketNotifier((TQSocketNotifier*) QtSupport::getQt(env, arg1));
return;
}