summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KIconLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KIconLoader.cpp')
-rw-r--r--kdejava/koala/kdejava/KIconLoader.cpp158
1 files changed, 79 insertions, 79 deletions
diff --git a/kdejava/koala/kdejava/KIconLoader.cpp b/kdejava/koala/kdejava/KIconLoader.cpp
index bf263b93..4e2c4a73 100644
--- a/kdejava/koala/kdejava/KIconLoader.cpp
+++ b/kdejava/koala/kdejava/KIconLoader.cpp
@@ -9,322 +9,322 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
-#include <kdejava/KIconLoader.h>
+#include <kdejava/TDEIconLoader.h>
-class KIconLoaderJBridge : public KIconLoader
+class TDEIconLoaderJBridge : public TDEIconLoader
{
public:
- KIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : KIconLoader(arg1,arg2) {};
- KIconLoaderJBridge(const TQString& arg1) : KIconLoader(arg1) {};
- KIconLoaderJBridge() : KIconLoader() {};
- ~KIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);}
+ TDEIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : TDEIconLoader(arg1,arg2) {};
+ TDEIconLoaderJBridge(const TQString& arg1) : TDEIconLoader(arg1) {};
+ TDEIconLoaderJBridge() : TDEIconLoader() {};
+ ~TDEIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname)
+Java_org_kde_koala_TDEIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname)
{
static TQString* _qstring_appname = 0;
- ((KIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
+ ((TDEIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname));
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj)
{
- ((KIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes();
+ ((TDEIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes();
return;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KIconLoader_currentSize(JNIEnv* env, jobject obj, jint group)
+Java_org_kde_koala_TDEIconLoader_currentSize(JNIEnv* env, jobject obj, jint group)
{
- jint xret = (jint) ((KIconLoader*) QtSupport::getQt(env, obj))->currentSize((KIcon::Group) group);
+ jint xret = (jint) ((TDEIconLoader*) QtSupport::getQt(env, obj))->currentSize((TDEIcon::Group) group);
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_dispose(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_dispose(JNIEnv* env, jobject obj)
{
- Java_org_kde_koala_KIconLoader_finalize(env, obj);
+ Java_org_kde_koala_TDEIconLoader_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable)
+Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable)
{
- ((KIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable);
+ ((TDEIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable);
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded();
+ jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_finalize(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (KIconLoader*)QtSupport::getQt(env, obj);
+ delete (TDEIconLoader*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KIconLoader_iconEffect(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_iconEffect(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((KIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.KIconEffect");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.TDEIconEffect");
return xret;
}
JNIEXPORT jstring JNICALL
-Java_org_kde_koala_KIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size)
+Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint 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);
+ _qstring = ((TDEIconLoader*) 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)
+Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean 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);
+ _qstring = ((TDEIconLoader*) 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);
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled();
+ jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KIconLoader_isDisposed(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
+Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{
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);
+ _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size)
{
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);
+ _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull, jboolean immediateExistenceCheck)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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;
}
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)
+Java_org_kde_koala_TDEIconLoader_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 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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
+Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size)
{
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);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint 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);
+ _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::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)
+Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint 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);
+ _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size);
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_newKIconLoader__(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KIconLoaderJBridge());
+ QtSupport::setQt(env, obj, new TDEIconLoaderJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname)
+Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname)
{
static TQString* _qstring_appname = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)));
+ QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_newKIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs)
+Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs)
{
static TQString* _qstring_appname = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs)));
+ QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size)
+Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size)
{
TQStringList _qlist;
- _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size);
+ _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size);
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)
+Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context)
{
TQStringList _qlist;
- _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (KIcon::Context) context);
+ _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (TDEIcon::Context) context);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir)
+Java_org_kde_koala_TDEIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir)
{
TQStringList _qlist;
static TQString* _qstring_iconsDir = 0;
- _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir));
+ _qlist = ((TDEIconLoader*) 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)
+Java_org_kde_koala_TDEIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size)
{
TQStringList _qlist;
- _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size);
+ _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size);
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)
+Java_org_kde_koala_TDEIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context)
{
TQStringList _qlist;
- _qlist = ((KIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (KIcon::Context) context);
+ _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (TDEIcon::Context) context);
return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs)
+Java_org_kde_koala_TDEIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs)
{
static TQString* _qstring__appname = 0;
- ((KIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs));
+ ((TDEIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs));
return;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KIconLoader_unknown(JNIEnv* env, jclass cls)
+Java_org_kde_koala_TDEIconLoader_unknown(JNIEnv* env, jclass cls)
{
(void) cls;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TDEIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE);
return xret;
}