diff options
Diffstat (limited to 'kdejava/koala/kdejava/KIconLoader.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KIconLoader.cpp | 134 |
1 files changed, 67 insertions, 67 deletions
diff --git a/kdejava/koala/kdejava/KIconLoader.cpp b/kdejava/koala/kdejava/KIconLoader.cpp index 2b10351b..dcf889b8 100644 --- a/kdejava/koala/kdejava/KIconLoader.cpp +++ b/kdejava/koala/kdejava/KIconLoader.cpp @@ -14,8 +14,8 @@ class KIconLoaderJBridge : public KIconLoader { public: - KIconLoaderJBridge(const TTQString& arg1,KStandardDirs* arg2) : KIconLoader(arg1,arg2) {}; - KIconLoaderJBridge(const TTQString& arg1) : KIconLoader(arg1) {}; + KIconLoaderJBridge(const TQString& arg1,KStandardDirs* arg2) : KIconLoader(arg1,arg2) {}; + KIconLoaderJBridge(const TQString& arg1) : KIconLoader(arg1) {}; KIconLoaderJBridge() : KIconLoader() {}; ~KIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);} }; @@ -23,8 +23,8 @@ public: JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname) { -static TTQString* _qstring_appname = 0; - ((KIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TTQString&)*(TTQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); +static TQString* _qstring_appname = 0; + ((KIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); return; } @@ -83,18 +83,18 @@ Java_org_kde_koala_KIconLoader_iconEffect(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size) { - TTQString _qstring; -static TTQString* _qstring_name = 0; - _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size); + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean canReturnNull) { - TTQString _qstring; -static TTQString* _qstring_name = 0; - _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size, (bool) canReturnNull); + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size, (bool) canReturnNull); return QtSupport::fromTQString(env, &_qstring); } @@ -114,83 +114,83 @@ Java_org_kde_koala_KIconLoader_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) { - TTQStringList _qlist; -static TTQString* _qstring_name = 0; - _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + TQStringList _qlist; +static TQString* _qstring_name = 0; + _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) { - TTQStringList _qlist; -static TTQString* _qstring_name = 0; - _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + TQStringList _qlist; +static TQString* _qstring_name = 0; + _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TTQIconSet", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TTQIconSet", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (bool) canReturnNull)), "org.kde.qt.TTQIconSet", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (bool) canReturnNull)), "org.kde.qt.TQIconSet", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIconSet__Ljava_lang_String_2IIZZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull, jboolean immediateExistenceCheck) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (bool) canReturnNull, (bool) immediateExistenceCheck)), "org.kde.qt.TTQIconSet", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (bool) canReturnNull, (bool) immediateExistenceCheck)), "org.kde.qt.TQIconSet", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TTQPixmap", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TTQPixmap", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TQPixmap", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state)), "org.kde.qt.TTQPixmap", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store) { -static TTQString* _qstring_name = 0; -static TTQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state, (TTQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store))), "org.kde.qt.TTQPixmap", TRUE); +static TQString* _qstring_name = 0; +static TQString* _qstring_path_store = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store))), "org.kde.qt.TQPixmap", TRUE); QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); return xret; } @@ -198,9 +198,9 @@ static TTQString* _qstring_path_store = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store, jboolean canReturnNull) { -static TTQString* _qstring_name = 0; -static TTQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state, (TTQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store), (bool) canReturnNull)), "org.kde.qt.TTQPixmap", TRUE); +static TQString* _qstring_name = 0; +static TQString* _qstring_path_store = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store), (bool) canReturnNull)), "org.kde.qt.TQPixmap", TRUE); QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); return xret; } @@ -208,34 +208,34 @@ static TTQString* _qstring_path_store = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQMovie(((KIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TTQMovie", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((KIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group)), "org.kde.qt.TQMovie", TRUE); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_loadMovie__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) { -static TTQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQMovie(((KIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TTQMovie", TRUE); +static TQString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((KIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size)), "org.kde.qt.TQMovie", TRUE); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) { - TTQString _qstring; -static TTQString* _qstring_name = 0; - _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group); + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group); return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_koala_KIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) { - TTQString _qstring; -static TTQString* _qstring_name = 0; - _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size); + TQString _qstring; +static TQString* _qstring_name = 0; + _qstring = ((KIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (KIcon::Group) group, (int) size); return QtSupport::fromTQString(env, &_qstring); } @@ -252,9 +252,9 @@ Java_org_kde_koala_KIconLoader_newKIconLoader__(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname) { -static TTQString* _qstring_appname = 0; +static TQString* _qstring_appname = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, appname, &_qstring_appname))); + QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -263,9 +263,9 @@ static TTQString* _qstring_appname = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2Lorg_kde_koala_KStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs) { -static TTQString* _qstring_appname = 0; +static TQString* _qstring_appname = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (KStandardDirs*) QtSupport::getQt(env, dirs))); + QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (KStandardDirs*) QtSupport::getQt(env, dirs))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -274,49 +274,49 @@ static TTQString* _qstring_appname = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size) { - TTQStringList _qlist; + TQStringList _qlist; _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) { - TTQStringList _qlist; + TQStringList _qlist; _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (KIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir) { - TTQStringList _qlist; -static TTQString* _qstring_iconsDir = 0; - _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TTQString&)*(TTQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + TQStringList _qlist; +static TQString* _qstring_iconsDir = 0; + _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir)); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size) { - TTQStringList _qlist; + TQStringList _qlist; _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) { - TTQStringList _qlist; + TQStringList _qlist; _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (KIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT void JNICALL Java_org_kde_koala_KIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs) { -static TTQString* _qstring__appname = 0; - ((KIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TTQString&)*(TTQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (KStandardDirs*) QtSupport::getQt(env, _dirs)); +static TQString* _qstring__appname = 0; + ((KIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (KStandardDirs*) QtSupport::getQt(env, _dirs)); return; } @@ -324,7 +324,7 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_KIconLoader_unknown(JNIEnv* env, jclass cls) { (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQPixmap(KIconLoaderJBridge::unknown()), "org.kde.qt.TTQPixmap", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE); return xret; } |