diff options
Diffstat (limited to 'kdejava/koala/kdejava/KTempDir.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KTempDir.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kdejava/koala/kdejava/KTempDir.cpp b/kdejava/koala/kdejava/KTempDir.cpp index c69556c5..2d5ec83c 100644 --- a/kdejava/koala/kdejava/KTempDir.cpp +++ b/kdejava/koala/kdejava/KTempDir.cpp @@ -1,6 +1,6 @@ //Auto-generated by kalyptus. DO NOT EDIT. #include <ktempdir.h> -#include <qstring.h> +#include <tqstring.h> #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> @@ -9,10 +9,10 @@ class KTempDirJBridge : public KTempDir { public: - KTempDirJBridge(QString arg1,int arg2) : KTempDir(arg1,arg2) {}; - KTempDirJBridge(QString arg1) : KTempDir(arg1) {}; + KTempDirJBridge(TQString arg1,int arg2) : KTempDir(arg1,arg2) {}; + KTempDirJBridge(TQString arg1) : KTempDir(arg1) {}; KTempDirJBridge() : KTempDir() {}; - bool protected_create(const QString& arg1,int arg2) { + bool protected_create(const TQString& arg1,int arg2) { return (bool) KTempDir::create(arg1,arg2); } void protected_setError(int arg1) { @@ -25,8 +25,8 @@ public: JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempDir_create(JNIEnv* env, jobject obj, jstring directoryPrefix, jint mode) { -static QString* _qstring_directoryPrefix = 0; - jboolean xret = (jboolean) ((KTempDirJBridge*) QtSupport::getQt(env, obj))->protected_create((const QString&)*(QString*) QtSupport::toQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode); +static TQString* _qstring_directoryPrefix = 0; + jboolean xret = (jboolean) ((KTempDirJBridge*) QtSupport::getQt(env, obj))->protected_create((const TQString&)*(TQString*) QtSupport::toQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode); return xret; } @@ -63,7 +63,7 @@ Java_org_kde_koala_KTempDir_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_koala_KTempDir_name(JNIEnv* env, jobject obj) { - QString _qstring; + TQString _qstring; _qstring = ((KTempDir*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromQString(env, &_qstring); } @@ -81,9 +81,9 @@ Java_org_kde_koala_KTempDir_newKTempDir__(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring directoryPrefix) { -static QString* _qstring_directoryPrefix = 0; +static TQString* _qstring_directoryPrefix = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge((QString)*(QString*) QtSupport::toQString(env, directoryPrefix, &_qstring_directoryPrefix))); + QtSupport::setQt(env, obj, new KTempDirJBridge((TQString)*(TQString*) QtSupport::toQString(env, directoryPrefix, &_qstring_directoryPrefix))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -92,9 +92,9 @@ static QString* _qstring_directoryPrefix = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring directoryPrefix, jint mode) { -static QString* _qstring_directoryPrefix = 0; +static TQString* _qstring_directoryPrefix = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge((QString)*(QString*) QtSupport::toQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode)); + QtSupport::setQt(env, obj, new KTempDirJBridge((TQString)*(TQString*) QtSupport::toQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -103,7 +103,7 @@ static QString* _qstring_directoryPrefix = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempDir_qDir(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempDir*) QtSupport::getQt(env, obj))->qDir(), "org.kde.qt.QDir"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempDir*) QtSupport::getQt(env, obj))->qDir(), "org.kde.qt.TQDir"); return xret; } |