diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QVariant.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QVariant.cpp | 412 |
1 files changed, 206 insertions, 206 deletions
diff --git a/qtjava/javalib/qtjava/QVariant.cpp b/qtjava/javalib/qtjava/QVariant.cpp index 050215ce..fac0f7ca 100644 --- a/qtjava/javalib/qtjava/QVariant.cpp +++ b/qtjava/javalib/qtjava/QVariant.cpp @@ -26,272 +26,272 @@ #include <tqcstring.h> #include <qtjava/QtSupport.h> -#include <qtjava/QVariant.h> +#include <qtjava/TQVariant.h> -class QVariantJBridge : public QVariant +class TQVariantJBridge : public TQVariant { public: - QVariantJBridge() : TQVariant() {}; - QVariantJBridge(const TQVariant& arg1) : TQVariant(arg1) {}; - QVariantJBridge(TQDataStream& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQString& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQStringList& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQFont& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPixmap& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQImage& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQBrush& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPoint& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQRect& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQSize& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQColor& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPalette& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQColorGroup& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQIconSet& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPointArray& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQRegion& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQBitmap& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQCursor& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQDate& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQTime& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQByteArray& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQKeySequence& arg1) : TQVariant(arg1) {}; - QVariantJBridge(const TQPen& arg1) : TQVariant(arg1) {}; - QVariantJBridge(int arg1) : TQVariant(arg1) {}; - QVariantJBridge(Q_LLONG arg1) : TQVariant(arg1) {}; - QVariantJBridge(bool arg1,int arg2) : TQVariant(arg1,arg2) {}; - QVariantJBridge(double arg1) : TQVariant(arg1) {}; - QVariantJBridge(TQSizePolicy arg1) : TQVariant(arg1) {}; - ~QVariantJBridge() {QtSupport::qtKeyDeleted(this);} + TQVariantJBridge() : TTQVariant() {}; + TQVariantJBridge(const TTQVariant& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(TTQDataStream& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQString& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQStringList& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQFont& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPixmap& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQImage& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQBrush& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPoint& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQRect& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQSize& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQColor& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPalette& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQColorGroup& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQIconSet& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPointArray& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQRegion& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQBitmap& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQCursor& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQDate& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQTime& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQByteArray& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQKeySequence& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(const TTQPen& arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(int arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(Q_LLONG arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(bool arg1,int arg2) : TTQVariant(arg1,arg2) {}; + TQVariantJBridge(double arg1) : TTQVariant(arg1) {}; + TQVariantJBridge(TTQSizePolicy arg1) : TTQVariant(arg1) {}; + ~TQVariantJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asBitmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBitmap *) &((TQVariant*) QtSupport::getQt(env, obj))->asBitmap(), "org.kde.qt.TQBitmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBitmap *) &((TTQVariant*) QtSupport::getQt(env, obj))->asBitmap(), "org.kde.qt.TTQBitmap"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_asBool(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->asBool(); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->asBool(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asBrush(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQVariant*) QtSupport::getQt(env, obj))->asBrush(), "org.kde.qt.TQBrush"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQBrush *) &((TTQVariant*) QtSupport::getQt(env, obj))->asBrush(), "org.kde.qt.TTQBrush"); return xret; } JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QVariant_asByteArray(JNIEnv* env, jobject obj) { - TQByteArray _qbyteArray; - _qbyteArray = ((TQVariant*) QtSupport::getQt(env, obj))->asByteArray(); - return QtSupport::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQVariant*) QtSupport::getQt(env, obj))->asByteArray(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_asCString(JNIEnv* env, jobject obj) { - TQCString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->asCString(); - return QtSupport::fromQCString(env, &_qstring); + TTQCString _qstring; + _qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->asCString(); + return QtSupport::fromTQCString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asColorGroup(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQVariant*) QtSupport::getQt(env, obj))->asColorGroup(), "org.kde.qt.TQColorGroup"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColorGroup *) &((TTQVariant*) QtSupport::getQt(env, obj))->asColorGroup(), "org.kde.qt.TTQColorGroup"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asColor(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQVariant*) QtSupport::getQt(env, obj))->asColor(), "org.kde.qt.TQColor"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQColor *) &((TTQVariant*) QtSupport::getQt(env, obj))->asColor(), "org.kde.qt.TTQColor"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asCursor(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQCursor *) &((TQVariant*) QtSupport::getQt(env, obj))->asCursor(), "org.kde.qt.TQCursor"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQCursor *) &((TTQVariant*) QtSupport::getQt(env, obj))->asCursor(), "org.kde.qt.TTQCursor"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asDateTime(JNIEnv* env, jobject obj) { - TQDateTime _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->asDateTime(); - return (jobject) QtSupport::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->asDateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_qdate); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asDate(JNIEnv* env, jobject obj) { - TQDate _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->asDate(); - return (jobject) QtSupport::fromQDate(env, (TQDate*) &_qdate); + TTQDate _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->asDate(); + return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate); } JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_asDouble(JNIEnv* env, jobject obj) { - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->asDouble(); + jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->asDouble(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asFont(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQFont *) &((TQVariant*) QtSupport::getQt(env, obj))->asFont(), "org.kde.qt.TQFont"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQFont *) &((TTQVariant*) QtSupport::getQt(env, obj))->asFont(), "org.kde.qt.TTQFont"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asIconSet(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQIconSet *) &((TQVariant*) QtSupport::getQt(env, obj))->asIconSet(), "org.kde.qt.TQIconSet"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQIconSet *) &((TTQVariant*) QtSupport::getQt(env, obj))->asIconSet(), "org.kde.qt.TTQIconSet"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asImage(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQVariant*) QtSupport::getQt(env, obj))->asImage(), "org.kde.qt.TQImage"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQImage *) &((TTQVariant*) QtSupport::getQt(env, obj))->asImage(), "org.kde.qt.TTQImage"); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asInt(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asInt(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->asInt(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asKeySequence(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQKeySequence *) &((TQVariant*) QtSupport::getQt(env, obj))->asKeySequence(), "org.kde.qt.TQKeySequence"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQKeySequence *) &((TTQVariant*) QtSupport::getQt(env, obj))->asKeySequence(), "org.kde.qt.TTQKeySequence"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPalette(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPalette *) &((TQVariant*) QtSupport::getQt(env, obj))->asPalette(), "org.kde.qt.TQPalette"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPalette *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPalette(), "org.kde.qt.TTQPalette"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPen(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPen *) &((TQVariant*) QtSupport::getQt(env, obj))->asPen(), "org.kde.qt.TQPen"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPen *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPen(), "org.kde.qt.TTQPen"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPixmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((TQVariant*) QtSupport::getQt(env, obj))->asPixmap(), "org.kde.qt.TQPixmap"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPixmap *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPixmap(), "org.kde.qt.TTQPixmap"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPointArray(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPointArray *) &((TQVariant*) QtSupport::getQt(env, obj))->asPointArray(), "org.kde.qt.TQPointArray"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPointArray *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPointArray(), "org.kde.qt.TTQPointArray"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asPoint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQVariant*) QtSupport::getQt(env, obj))->asPoint(), "org.kde.qt.TQPoint"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQPoint *) &((TTQVariant*) QtSupport::getQt(env, obj))->asPoint(), "org.kde.qt.TTQPoint"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asRect(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRect *) &((TQVariant*) QtSupport::getQt(env, obj))->asRect(), "org.kde.qt.TQRect"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRect *) &((TTQVariant*) QtSupport::getQt(env, obj))->asRect(), "org.kde.qt.TTQRect"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asRegion(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQRegion *) &((TQVariant*) QtSupport::getQt(env, obj))->asRegion(), "org.kde.qt.TQRegion"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQRegion *) &((TTQVariant*) QtSupport::getQt(env, obj))->asRegion(), "org.kde.qt.TTQRegion"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asSizePolicy(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSizePolicy *) &((TQVariant*) QtSupport::getQt(env, obj))->asSizePolicy(), "org.kde.qt.TQSizePolicy"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSizePolicy *) &((TTQVariant*) QtSupport::getQt(env, obj))->asSizePolicy(), "org.kde.qt.TTQSizePolicy"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asSize(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQSize *) &((TQVariant*) QtSupport::getQt(env, obj))->asSize(), "org.kde.qt.TQSize"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TTQSize *) &((TTQVariant*) QtSupport::getQt(env, obj))->asSize(), "org.kde.qt.TTQSize"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asStringList(JNIEnv* env, jobject obj) { - TQStringList _qlist; - _qlist = ((TQVariant*) QtSupport::getQt(env, obj))->asStringList(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQVariant*) QtSupport::getQt(env, obj))->asStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_asString(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->asString(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->asString(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_asTime(JNIEnv* env, jobject obj) { - TQTime _qtime; - _qtime = ((TQVariant*) QtSupport::getQt(env, obj))->asTime(); - return (jobject) QtSupport::fromQTime(env, (TQTime*) &_qtime); + TTQTime _qtime; + _qtime = ((TTQVariant*) QtSupport::getQt(env, obj))->asTime(); + return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_asUInt(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->asUInt(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->asUInt(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_canCast(JNIEnv* env, jobject obj, jint arg1) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->canCast((TQVariant::Type) arg1); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->canCast((TTQVariant::Type) arg1); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_cast(JNIEnv* env, jobject obj, jint arg1) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->cast((TQVariant::Type) arg1); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->cast((TTQVariant::Type) arg1); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_clear(JNIEnv* env, jobject obj) { - ((TQVariant*) QtSupport::getQt(env, obj))->clear(); + ((TTQVariant*) QtSupport::getQt(env, obj))->clear(); return; } @@ -306,7 +306,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TQVariant*)QtSupport::getQt(env, obj); + delete (TTQVariant*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -321,21 +321,21 @@ Java_org_kde_qt_QVariant_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isNull(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->isNull(); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->isNull(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_isValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->isValid(); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_load(JNIEnv* env, jobject obj, jobject arg1) { - ((TQVariant*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); + ((TTQVariant*) QtSupport::getQt(env, obj))->load((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1)); return; } @@ -343,311 +343,311 @@ JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_nameToType(JNIEnv* env, jclass cls, jstring name) { (void) cls; -static TQCString* _qstring_name = 0; - jint xret = (jint) QVariantJBridge::nameToType((const char*) QtSupport::toCharString(env, name, &_qstring_name)); +static TTQCString* _qstring_name = 0; + jint xret = (jint) TQVariantJBridge::nameToType((const char*) QtSupport::toCharString(env, name, &_qstring_name)); return xret; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__(JNIEnv* env, jobject obj) +Java_org_kde_qt_QVariant_newTQVariant__(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge()); + QtSupport::setQt(env, obj, new TQVariantJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__D(JNIEnv* env, jobject obj, jdouble arg1) +Java_org_kde_qt_QVariant_newTQVariant__D(JNIEnv* env, jobject obj, jdouble arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((double) arg1)); + QtSupport::setQt(env, obj, new TQVariantJBridge((double) arg1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__I(JNIEnv* env, jobject obj, jint arg1) +Java_org_kde_qt_QVariant_newTQVariant__I(JNIEnv* env, jobject obj, jint arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((int) arg1)); + QtSupport::setQt(env, obj, new TQVariantJBridge((int) arg1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__J(JNIEnv* env, jobject obj, jlong arg1) +Java_org_kde_qt_QVariant_newTQVariant__J(JNIEnv* env, jobject obj, jlong arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((Q_LLONG) arg1)); + QtSupport::setQt(env, obj, new TQVariantJBridge((Q_LLONG) arg1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) +Java_org_kde_qt_QVariant_newTQVariant__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) { -static TQString* _qstring_arg1 = 0; +static TTQString* _qstring_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, arg1, &_qstring_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) { -static TQDate* _qdate_arg1 = 0; +static TTQDate* _qdate_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQDate&)*(TQDate*) QtSupport::toQDate(env, arg1, &_qdate_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQDate&)*(TTQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject arg1) { -static TQTime* _qtime_arg1 = 0; +static TTQTime* _qtime_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQTime&)*(TQTime*) QtSupport::toQTime(env, arg1, &_qtime_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQTime&)*(TTQTime*) QtSupport::toTQTime(env, arg1, &_qtime_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQBitmap&)*(const TTQBitmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QBrush_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQBrush&)*(const TTQBrush*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQColorGroup&)*(const TTQColorGroup*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQColor&)*(const TTQColor*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQCursor&)*(const TTQCursor*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QDataStream_2(JNIEnv* env, jobject obj, jobject s) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s))); + QtSupport::setQt(env, obj, new TQVariantJBridge((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, s))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQFont&)*(const TTQFont*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPalette&)*(const TTQPalette*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPen_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQPen&)*(const TQPen*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPen&)*(const TTQPen*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPointArray_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQPointArray&)*(const TQPointArray*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPointArray&)*(const TTQPointArray*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQPoint&)*(const TTQPoint*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQRegion&)*(const TTQRegion*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((TTQSizePolicy)*(TTQSizePolicy*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject arg1) +Java_org_kde_qt_QVariant_newTQVariant__Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jobject arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2) +Java_org_kde_qt_QVariant_newTQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((bool) arg1, (int) arg2)); + QtSupport::setQt(env, obj, new TQVariantJBridge((bool) arg1, (int) arg2)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1) +Java_org_kde_qt_QVariant_newTQVariant___3B(JNIEnv* env, jobject obj, jbyteArray arg1) { -static TQByteArray* _qbyteArray_arg1 = 0; +static TTQByteArray* _qbyteArray_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, arg1, &_qbyteArray_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QVariant_newQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) +Java_org_kde_qt_QVariant_newTQVariant___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray arg1) { -static TQStringList* _qlist_arg1 = 0; +static TTQStringList* _qlist_arg1 = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new QVariantJBridge((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, arg1, &_qlist_arg1))); + QtSupport::setQt(env, obj, new TQVariantJBridge((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, arg1, &_qlist_arg1))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -656,102 +656,102 @@ static TQStringList* _qlist_arg1 = 0; JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_op_1equals(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->operator==((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->operator==((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->operator!=((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->operator!=((const TTQVariant&)*(const TTQVariant*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT void JNICALL Java_org_kde_qt_QVariant_save(JNIEnv* env, jobject obj, jobject arg1) { - ((TQVariant*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); + ((TTQVariant*) QtSupport::getQt(env, obj))->save((TTQDataStream&)*(TTQDataStream*) QtSupport::getQt(env, arg1)); return; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toBitmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBitmap(((TQVariant*) QtSupport::getQt(env, obj))->toBitmap()), "org.kde.qt.TQBitmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBitmap(((TTQVariant*) QtSupport::getQt(env, obj))->toBitmap()), "org.kde.qt.TTQBitmap", TRUE); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QVariant_toBool(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TQVariant*) QtSupport::getQt(env, obj))->toBool(); + jboolean xret = (jboolean) ((TTQVariant*) QtSupport::getQt(env, obj))->toBool(); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toBrush(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQBrush(((TQVariant*) QtSupport::getQt(env, obj))->toBrush()), "org.kde.qt.TQBrush", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQBrush(((TTQVariant*) QtSupport::getQt(env, obj))->toBrush()), "org.kde.qt.TTQBrush", TRUE); return xret; } JNIEXPORT jbyteArray JNICALL Java_org_kde_qt_QVariant_toByteArray(JNIEnv* env, jobject obj) { - TQByteArray _qbyteArray; - _qbyteArray = ((TQVariant*) QtSupport::getQt(env, obj))->toByteArray(); - return QtSupport::fromQByteArray(env, &_qbyteArray); + TTQByteArray _qbyteArray; + _qbyteArray = ((TTQVariant*) QtSupport::getQt(env, obj))->toByteArray(); + return QtSupport::fromTQByteArray(env, &_qbyteArray); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_toCString(JNIEnv* env, jobject obj) { - TQCString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->toCString(); - return QtSupport::fromQCString(env, &_qstring); + TTQCString _qstring; + _qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->toCString(); + return QtSupport::fromTQCString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toColorGroup(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColorGroup(((TQVariant*) QtSupport::getQt(env, obj))->toColorGroup()), "org.kde.qt.TQColorGroup", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColorGroup(((TTQVariant*) QtSupport::getQt(env, obj))->toColorGroup()), "org.kde.qt.TTQColorGroup", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toColor(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TQVariant*) QtSupport::getQt(env, obj))->toColor()), "org.kde.qt.TQColor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQColor(((TTQVariant*) QtSupport::getQt(env, obj))->toColor()), "org.kde.qt.TTQColor", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toCursor(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(((TQVariant*) QtSupport::getQt(env, obj))->toCursor()), "org.kde.qt.TQCursor", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQCursor(((TTQVariant*) QtSupport::getQt(env, obj))->toCursor()), "org.kde.qt.TTQCursor", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toDateTime(JNIEnv* env, jobject obj) { - TQDateTime _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->toDateTime(); - return (jobject) QtSupport::fromQDateTime(env, (TQDateTime*) &_qdate); + TTQDateTime _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->toDateTime(); + return (jobject) QtSupport::fromTQDateTime(env, (TTQDateTime*) &_qdate); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toDate(JNIEnv* env, jobject obj) { - TQDate _qdate; - _qdate = ((TQVariant*) QtSupport::getQt(env, obj))->toDate(); - return (jobject) QtSupport::fromQDate(env, (TQDate*) &_qdate); + TTQDate _qdate; + _qdate = ((TTQVariant*) QtSupport::getQt(env, obj))->toDate(); + return (jobject) QtSupport::fromTQDate(env, (TTQDate*) &_qdate); } JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_toDouble__(JNIEnv* env, jobject obj) { - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->toDouble(); + jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->toDouble(); return xret; } @@ -759,7 +759,7 @@ JNIEXPORT jdouble JNICALL Java_org_kde_qt_QVariant_toDouble___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) { bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) ((TQVariant*) QtSupport::getQt(env, obj))->toDouble( (bool*) _bool_ok); + jdouble xret = (jdouble) ((TTQVariant*) QtSupport::getQt(env, obj))->toDouble( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -767,28 +767,28 @@ Java_org_kde_qt_QVariant_toDouble___3Z(JNIEnv* env, jobject obj, jbooleanArray o JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toFont(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQVariant*) QtSupport::getQt(env, obj))->toFont()), "org.kde.qt.TQFont", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQFont(((TTQVariant*) QtSupport::getQt(env, obj))->toFont()), "org.kde.qt.TTQFont", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toIconSet(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TQVariant*) QtSupport::getQt(env, obj))->toIconSet()), "org.kde.qt.TQIconSet", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((TTQVariant*) QtSupport::getQt(env, obj))->toIconSet()), "org.kde.qt.TTQIconSet", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toImage(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQVariant*) QtSupport::getQt(env, obj))->toImage()), "org.kde.qt.TQImage", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(((TTQVariant*) QtSupport::getQt(env, obj))->toImage()), "org.kde.qt.TTQImage", TRUE); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toInt__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toInt(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toInt(); return xret; } @@ -796,7 +796,7 @@ JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) { bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toInt( (bool*) _bool_ok); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toInt( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -804,14 +804,14 @@ Java_org_kde_qt_QVariant_toInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toKeySequence(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQVariant*) QtSupport::getQt(env, obj))->toKeySequence()), "org.kde.qt.TQKeySequence", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQVariant*) QtSupport::getQt(env, obj))->toKeySequence()), "org.kde.qt.TTQKeySequence", TRUE); return xret; } JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toLongLong__(JNIEnv* env, jobject obj) { - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toLongLong(); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toLongLong(); return xret; } @@ -819,7 +819,7 @@ JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toLongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) { bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toLongLong( (bool*) _bool_ok); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toLongLong( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -827,94 +827,94 @@ Java_org_kde_qt_QVariant_toLongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPalette(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(((TQVariant*) QtSupport::getQt(env, obj))->toPalette()), "org.kde.qt.TQPalette", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPalette(((TTQVariant*) QtSupport::getQt(env, obj))->toPalette()), "org.kde.qt.TTQPalette", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPen(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPen(((TQVariant*) QtSupport::getQt(env, obj))->toPen()), "org.kde.qt.TQPen", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPen(((TTQVariant*) QtSupport::getQt(env, obj))->toPen()), "org.kde.qt.TTQPen", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPixmap(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TQVariant*) QtSupport::getQt(env, obj))->toPixmap()), "org.kde.qt.TQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((TTQVariant*) QtSupport::getQt(env, obj))->toPixmap()), "org.kde.qt.TTQPixmap", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPointArray(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPointArray(((TQVariant*) QtSupport::getQt(env, obj))->toPointArray()), "org.kde.qt.TQPointArray", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPointArray(((TTQVariant*) QtSupport::getQt(env, obj))->toPointArray()), "org.kde.qt.TTQPointArray", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toPoint(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQVariant*) QtSupport::getQt(env, obj))->toPoint()), "org.kde.qt.TQPoint", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPoint(((TTQVariant*) QtSupport::getQt(env, obj))->toPoint()), "org.kde.qt.TTQPoint", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toRect(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQVariant*) QtSupport::getQt(env, obj))->toRect()), "org.kde.qt.TQRect", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRect(((TTQVariant*) QtSupport::getQt(env, obj))->toRect()), "org.kde.qt.TTQRect", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toRegion(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQVariant*) QtSupport::getQt(env, obj))->toRegion()), "org.kde.qt.TQRegion", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQRegion(((TTQVariant*) QtSupport::getQt(env, obj))->toRegion()), "org.kde.qt.TTQRegion", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toSizePolicy(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQVariant*) QtSupport::getQt(env, obj))->toSizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSizePolicy(((TTQVariant*) QtSupport::getQt(env, obj))->toSizePolicy()), "org.kde.qt.TTQSizePolicy", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toSize(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQVariant*) QtSupport::getQt(env, obj))->toSize()), "org.kde.qt.TQSize", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQSize(((TTQVariant*) QtSupport::getQt(env, obj))->toSize()), "org.kde.qt.TTQSize", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toStringList(JNIEnv* env, jobject obj) { - TQStringList _qlist; - _qlist = ((TQVariant*) QtSupport::getQt(env, obj))->toStringList(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + TTQStringList _qlist; + _qlist = ((TTQVariant*) QtSupport::getQt(env, obj))->toStringList(); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_toString(JNIEnv* env, jobject obj) { - TQString _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromQString(env, &_qstring); + TTQString _qstring; + _qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->toString(); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QVariant_toTime(JNIEnv* env, jobject obj) { - TQTime _qtime; - _qtime = ((TQVariant*) QtSupport::getQt(env, obj))->toTime(); - return (jobject) QtSupport::fromQTime(env, (TQTime*) &_qtime); + TTQTime _qtime; + _qtime = ((TTQVariant*) QtSupport::getQt(env, obj))->toTime(); + return (jobject) QtSupport::fromTQTime(env, (TTQTime*) &_qtime); } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toUInt__(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toUInt(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toUInt(); return xret; } @@ -922,7 +922,7 @@ JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_toUInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) { bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->toUInt( (bool*) _bool_ok); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->toUInt( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -930,7 +930,7 @@ Java_org_kde_qt_QVariant_toUInt___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toULongLong__(JNIEnv* env, jobject obj) { - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toULongLong(); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toULongLong(); return xret; } @@ -938,7 +938,7 @@ JNIEXPORT jlong JNICALL Java_org_kde_qt_QVariant_toULongLong___3Z(JNIEnv* env, jobject obj, jbooleanArray ok) { bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jlong xret = (jlong) ((TQVariant*) QtSupport::getQt(env, obj))->toULongLong( (bool*) _bool_ok); + jlong xret = (jlong) ((TTQVariant*) QtSupport::getQt(env, obj))->toULongLong( (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); return xret; } @@ -947,7 +947,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QVariant_typeName(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TQVariant*) QtSupport::getQt(env, obj))->typeName(); + _qstring = ((TTQVariant*) QtSupport::getQt(env, obj))->typeName(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -956,14 +956,14 @@ Java_org_kde_qt_QVariant_typeToName(JNIEnv* env, jclass cls, jint typ) { const char* _qstring; (void) cls; - _qstring = QVariantJBridge::typeToName((TQVariant::Type) typ); + _qstring = TQVariantJBridge::typeToName((TTQVariant::Type) typ); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT jint JNICALL Java_org_kde_qt_QVariant_type(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TQVariant*) QtSupport::getQt(env, obj))->type(); + jint xret = (jint) ((TTQVariant*) QtSupport::getQt(env, obj))->type(); return xret; } |