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.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/qtjava/javalib/qtjava/QWheelEvent.cpp b/qtjava/javalib/qtjava/QWheelEvent.cpp
index cff862d8..7f5c520f 100644
--- a/qtjava/javalib/qtjava/QWheelEvent.cpp
+++ b/qtjava/javalib/qtjava/QWheelEvent.cpp
@@ -1,7 +1,7 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qpoint.h>
-#include <qevent.h>
-#include <qnamespace.h>
+#include <tqpoint.h>
+#include <tqevent.h>
+#include <tqnamespace.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QWheelEvent.h>
@@ -9,24 +9,24 @@
class QWheelEventJBridge : public QWheelEvent
{
public:
- QWheelEventJBridge(const QPoint& arg1,int arg2,int arg3,Qt::Orientation arg4) : QWheelEvent(arg1,arg2,arg3,arg4) {};
- QWheelEventJBridge(const QPoint& arg1,int arg2,int arg3) : QWheelEvent(arg1,arg2,arg3) {};
- QWheelEventJBridge(const QPoint& arg1,const QPoint& arg2,int arg3,int arg4,Qt::Orientation arg5) : QWheelEvent(arg1,arg2,arg3,arg4,arg5) {};
- QWheelEventJBridge(const QPoint& arg1,const QPoint& arg2,int arg3,int arg4) : QWheelEvent(arg1,arg2,arg3,arg4) {};
+ 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);}
};
JNIEXPORT void JNICALL
Java_org_kde_qt_QWheelEvent_accept(JNIEnv* env, jobject obj)
{
- ((QWheelEvent*) 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) ((QWheelEvent*) 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 (QWheelEvent*)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*)(QPoint *) &((QWheelEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.QPoint");
+ 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) ((QWheelEvent*) 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) ((QWheelEvent*) 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)
{
- ((QWheelEvent*) 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) ((QWheelEvent*) 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_newQWheelEvent__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 QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state));
+ QtSupport::setQt(env, obj, new QWheelEventJBridge((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_newQWheelEvent__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 QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (Qt::Orientation) orient));
+ QtSupport::setQt(env, obj, new QWheelEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) delta, (int) state, (Qt::Orientation) orient));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -112,7 +112,7 @@ 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)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QWheelEventJBridge((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state));
+ 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::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -122,7 +122,7 @@ 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)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QWheelEventJBridge((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, globalPos), (int) delta, (int) state, (Qt::Orientation) orient));
+ 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::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) ((QWheelEvent*) 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*)(QPoint *) &((QWheelEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.QPoint");
+ 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) ((QWheelEvent*) 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) ((QWheelEvent*) 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) ((QWheelEvent*) QtSupport::getQt(env, obj))->y();
+ jint xret = (jint) ((TQWheelEvent*) QtSupport::getQt(env, obj))->y();
return xret;
}