diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QDragObject.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QDragObject.cpp | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/qtjava/javalib/qtjava/QDragObject.cpp b/qtjava/javalib/qtjava/QDragObject.cpp index 2cd8cc90..f9e551aa 100644 --- a/qtjava/javalib/qtjava/QDragObject.cpp +++ b/qtjava/javalib/qtjava/QDragObject.cpp @@ -1,10 +1,10 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qpixmap.h> -#include <qstring.h> -#include <qpoint.h> -#include <qdragobject.h> -#include <qcstring.h> -#include <qmime.h> +#include <tqpixmap.h> +#include <tqstring.h> +#include <tqpoint.h> +#include <tqdragobject.h> +#include <tqcstring.h> +#include <tqmime.h> #include <qtjava/QtSupport.h> #include <qtjava/QDragObject.h> @@ -13,44 +13,44 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_className(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QDragObject*) QtSupport::getQt(env, obj))->className(); + _qstring = ((TQDragObject*) QtSupport::getQt(env, obj))->className(); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_dragCopy(JNIEnv* env, jobject obj) { - ((QDragObject*) QtSupport::getQt(env, obj))->dragCopy(); + ((TQDragObject*) QtSupport::getQt(env, obj))->dragCopy(); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_dragLink(JNIEnv* env, jobject obj) { - ((QDragObject*) QtSupport::getQt(env, obj))->dragLink(); + ((TQDragObject*) QtSupport::getQt(env, obj))->dragLink(); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_dragMove(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDragObject*) QtSupport::getQt(env, obj))->dragMove(); + jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->dragMove(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_drag(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((QDragObject*) QtSupport::getQt(env, obj))->drag(); + jboolean xret = (jboolean) ((TQDragObject*) QtSupport::getQt(env, obj))->drag(); return xret; } JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QDragObject_encodedData(JNIEnv* env, jobject obj, jstring arg1) { - QByteArray _qbyteArray; -static QCString* _qstring_arg1 = 0; - _qbyteArray = ((QMimeSource*)(QDragObject*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); + TQByteArray _qbyteArray; +static TQCString* _qstring_arg1 = 0; + _qbyteArray = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return QtSupport::fromQByteArray(env, &_qbyteArray); } @@ -58,7 +58,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_format__(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((QMimeSource*)(QDragObject*) QtSupport::getQt(env, obj))->format(); + _qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -66,57 +66,57 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_format__I(JNIEnv* env, jobject obj, jint n) { const char* _qstring; - _qstring = ((QMimeSource*)(QDragObject*) QtSupport::getQt(env, obj))->format((int) n); + _qstring = ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->format((int) n); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QDragObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_pixmapHotSpot(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new QPoint(((QDragObject*) QtSupport::getQt(env, obj))->pixmapHotSpot()), "org.kde.qt.QPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQDragObject*) QtSupport::getQt(env, obj))->pixmapHotSpot()), "org.kde.qt.TQPoint", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_pixmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new QPixmap(((QDragObject*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.QPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQDragObject*) QtSupport::getQt(env, obj))->pixmap()), "org.kde.qt.TQPixmap", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QDragObject_provides(JNIEnv* env, jobject obj, jstring arg1) { -static QCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((QMimeSource*)(QDragObject*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); +static TQCString* _qstring_arg1 = 0; + jboolean xret = (jboolean) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->provides((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QDragObject_serialNumber(JNIEnv* env, jobject obj) { - jint xret = (jint) ((QMimeSource*)(QDragObject*) QtSupport::getQt(env, obj))->serialNumber(); + jint xret = (jint) ((TQMimeSource*)(TQDragObject*) QtSupport::getQt(env, obj))->serialNumber(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) { - ((QDragObject*) QtSupport::getQt(env, obj))->setPixmap((QPixmap)*(QPixmap*) QtSupport::getQt(env, arg1)); + ((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setPixmap__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1, jobject hotspot) { - ((QDragObject*) QtSupport::getQt(env, obj))->setPixmap((QPixmap)*(QPixmap*) QtSupport::getQt(env, arg1), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, hotspot)); + ((TQDragObject*) QtSupport::getQt(env, obj))->setPixmap((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, hotspot)); return; } @@ -124,14 +124,14 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QDragObject_setTarget(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; - QDragObject::setTarget((QWidget*) QtSupport::getQt(env, arg1)); + TQDragObject::setTarget((TQWidget*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_source(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((QDragObject*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.QWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQDragObject*) QtSupport::getQt(env, obj))->source(), "org.kde.qt.TQWidget"); return xret; } @@ -139,34 +139,34 @@ JNIEXPORT jobject JNICALL Java_org_kde_qt_QDragObject_target(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)QDragObject::target(), "org.kde.qt.QWidget"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQDragObject::target(), "org.kde.qt.TQWidget"); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1) { - QString _qstring; + TQString _qstring; (void) cls; -static QCString* _qstring_arg1 = 0; - _qstring = QDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); +static TQCString* _qstring_arg1 = 0; + _qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QDragObject_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; - _qstring = QDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); +static TQCString* _qstring_arg1 = 0; +static TQCString* _qstring_arg2 = 0; + _qstring = TQDragObject::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT jlong JNICALL Java_org_kde_qt_QDragObject_mimeSource(JNIEnv* env, jobject obj) { - return (jlong) (QMimeSource*) (QDragObject*) QtSupport::getQt(env, obj); + return (jlong) (TQMimeSource*) (TQDragObject*) QtSupport::getQt(env, obj); } |