diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QWheelEvent.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QWheelEvent.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/qtjava/javalib/qtjava/QWheelEvent.cpp b/qtjava/javalib/qtjava/QWheelEvent.cpp index b224e86c..43a74450 100644 --- a/qtjava/javalib/qtjava/QWheelEvent.cpp +++ b/qtjava/javalib/qtjava/QWheelEvent.cpp @@ -9,24 +9,24 @@ class TQWheelEventJBridge : public TQWheelEvent { public: - TQWheelEventJBridge(const TTQPoint& arg1,int arg2,int arg3,TQt::Orientation arg4) : TTQWheelEvent(arg1,arg2,arg3,arg4) {}; - TQWheelEventJBridge(const TTQPoint& arg1,int arg2,int arg3) : TTQWheelEvent(arg1,arg2,arg3) {}; - TQWheelEventJBridge(const TTQPoint& arg1,const TTQPoint& arg2,int arg3,int arg4,TQt::Orientation arg5) : TTQWheelEvent(arg1,arg2,arg3,arg4,arg5) {}; - TQWheelEventJBridge(const TTQPoint& arg1,const TTQPoint& arg2,int arg3,int arg4) : TTQWheelEvent(arg1,arg2,arg3,arg4) {}; + TQWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3,TQt::Orientation arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; + TQWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3) : TQWheelEvent(arg1,arg2,arg3) {}; + TQWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,TQt::Orientation arg5) : TQWheelEvent(arg1,arg2,arg3,arg4,arg5) {}; + TQWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {}; ~TQWheelEventJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_accept(JNIEnv* env, jobject obj) { - ((TTQWheelEvent*) QtSupport::getQt(env, obj))->accept(); + ((TQWheelEvent*) QtSupport::getQt(env, obj))->accept(); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_delta(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->delta(); + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->delta(); return xret; } @@ -41,7 +41,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TTQWheelEvent*)QtSupport::getQt(env, obj); + delete (TQWheelEvent*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -50,35 +50,35 @@ Java_org_kde_qt_QWheelEvent_finalize(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QWheelEvent_globalPos(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TTQPoint"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_globalX(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->globalX(); + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalX(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_globalY(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->globalY(); + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalY(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_ignore(JNIEnv* env, jobject obj) { - ((TTQWheelEvent*) QtSupport::getQt(env, obj))->ignore(); + ((TQWheelEvent*) QtSupport::getQt(env, obj))->ignore(); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QWheelEvent_isAccepted(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->isAccepted(); + jboolean xret = (jboolean) ((TQWheelEvent*) QtSupport::getQt(env, obj))->isAccepted(); return xret; } @@ -92,7 +92,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -102,7 +102,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state, jint orient) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (TQt::Orientation) orient)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (TQt::Orientation) orient)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -112,7 +112,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -122,7 +122,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state, jint orient) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (TQt::Orientation) orient)); + QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (TQt::Orientation) orient)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -131,35 +131,35 @@ Java_org_kde_qt_QWheelEvent_newTQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPo JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_orientation(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->orientation(); + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->orientation(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QWheelEvent_pos(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_state(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->state(); + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->state(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_x(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->x(); + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->x(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QWheelEvent_y(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->y(); + jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->y(); return xret; } |