summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QWheelEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QWheelEvent.cpp')
-rw-r--r--qtjava/javalib/qtjava/QWheelEvent.cpp56
1 files changed, 28 insertions, 28 deletions
diff --git a/qtjava/javalib/qtjava/QWheelEvent.cpp b/qtjava/javalib/qtjava/QWheelEvent.cpp
index 7f5c520f..b224e86c 100644
--- a/qtjava/javalib/qtjava/QWheelEvent.cpp
+++ b/qtjava/javalib/qtjava/QWheelEvent.cpp
@@ -4,29 +4,29 @@
#include <tqnamespace.h>
#include <qtjava/QtSupport.h>
-#include <qtjava/QWheelEvent.h>
+#include <qtjava/TQWheelEvent.h>
-class QWheelEventJBridge : public QWheelEvent
+class TQWheelEventJBridge : public TQWheelEvent
{
public:
- QWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3,Qt::Orientation arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {};
- QWheelEventJBridge(const TQPoint& arg1,int arg2,int arg3) : TQWheelEvent(arg1,arg2,arg3) {};
- QWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4,Qt::Orientation arg5) : TQWheelEvent(arg1,arg2,arg3,arg4,arg5) {};
- QWheelEventJBridge(const TQPoint& arg1,const TQPoint& arg2,int arg3,int arg4) : TQWheelEvent(arg1,arg2,arg3,arg4) {};
- ~QWheelEventJBridge() {QtSupport::qtKeyDeleted(this);}
+ 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() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QWheelEvent_accept(JNIEnv* env, jobject obj)
{
- ((TQWheelEvent*) QtSupport::getQt(env, obj))->accept();
+ ((TTQWheelEvent*) QtSupport::getQt(env, obj))->accept();
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QWheelEvent_delta(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->delta();
+ jint xret = (jint) ((TTQWheelEvent*) 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 (TQWheelEvent*)QtSupport::getQt(env, obj);
+ delete (TTQWheelEvent*)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*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TQPoint");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.TTQPoint");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QWheelEvent_globalX(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalX();
+ jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->globalX();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QWheelEvent_globalY(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->globalY();
+ jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->globalY();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QWheelEvent_ignore(JNIEnv* env, jobject obj)
{
- ((TQWheelEvent*) QtSupport::getQt(env, obj))->ignore();
+ ((TTQWheelEvent*) QtSupport::getQt(env, obj))->ignore();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWheelEvent_isAccepted(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TQWheelEvent*) QtSupport::getQt(env, obj))->isAccepted();
+ jboolean xret = (jboolean) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->isAccepted();
return xret;
}
@@ -89,40 +89,40 @@ Java_org_kde_qt_QWheelEvent_isDisposed(JNIEnv* env, jobject obj)
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state)
+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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state));
+ QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jint delta, jint state, jint orient)
+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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (Qt::Orientation) orient));
+ QtSupport::setQt(env, obj, new TQWheelEventJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (TQt::Orientation) orient));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2II(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state)
+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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoint_2III(JNIEnv* env, jobject obj, jobject pos, jobject globalPos, jint delta, jint state, jint orient)
+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 QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (Qt::Orientation) orient));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -131,35 +131,35 @@ Java_org_kde_qt_QWheelEvent_newQWheelEvent__Lorg_kde_qt_QPoint_2Lorg_kde_qt_QPoi
JNIEXPORT jint JNICALL
Java_org_kde_qt_QWheelEvent_orientation(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->orientation();
+ jint xret = (jint) ((TTQWheelEvent*) 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*)(TQPoint *) &((TQWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TQPoint");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.TTQPoint");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QWheelEvent_state(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->state();
+ jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->state();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QWheelEvent_x(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->x();
+ jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->x();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QWheelEvent_y(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->y();
+ jint xret = (jint) ((TTQWheelEvent*) QtSupport::getQt(env, obj))->y();
return xret;
}