summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KCModuleLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KCModuleLoader.cpp')
-rw-r--r--kdejava/koala/kdejava/KCModuleLoader.cpp74
1 files changed, 37 insertions, 37 deletions
diff --git a/kdejava/koala/kdejava/KCModuleLoader.cpp b/kdejava/koala/kdejava/KCModuleLoader.cpp
index 2cf4b29c..e33cb32f 100644
--- a/kdejava/koala/kdejava/KCModuleLoader.cpp
+++ b/kdejava/koala/kdejava/KCModuleLoader.cpp
@@ -6,162 +6,162 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
-#include <kdejava/KCModuleLoader.h>
+#include <kdejava/TDECModuleLoader.h>
-class KCModuleLoaderJBridge : public KCModuleLoader
+class TDECModuleLoaderJBridge : public TDECModuleLoader
{
public:
- KCModuleLoaderJBridge() : KCModuleLoader() {};
- ~KCModuleLoaderJBridge() {QtSupport::qtKeyDeleted(this);}
+ TDECModuleLoaderJBridge() : TDECModuleLoader() {};
+ ~TDECModuleLoaderJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT void JNICALL
-Java_org_kde_koala_KCModuleLoader_dispose(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDECModuleLoader_dispose(JNIEnv* env, jobject obj)
{
- Java_org_kde_koala_KCModuleLoader_finalize(env, obj);
+ Java_org_kde_koala_TDECModuleLoader_finalize(env, obj);
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KCModuleLoader_finalize(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDECModuleLoader_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (KCModuleLoader*)QtSupport::getQt(env, obj);
+ delete (TDECModuleLoader*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KCModuleLoader_isDisposed(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDECModuleLoader_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring module, jint report)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring module, jint report)
{
(void) cls;
static TQString* _qstring_module = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent)
{
(void) cls;
static TQString* _qstring_module = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name)
{
(void) cls;
static TQString* _qstring_module = 0;
static TQCString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name, jobjectArray args)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name, jobjectArray args)
{
(void) cls;
static TQString* _qstring_module = 0;
static TQCString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Lorg_kde_koala_KCModuleInfo_2I(JNIEnv* env, jclass cls, jobject module, jint report)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2I(JNIEnv* env, jclass cls, jobject module, jint report)
{
(void) cls;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Lorg_kde_koala_KCModuleInfo_2IZ(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZ(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback)
{
(void) cls;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report, (bool) withFallback), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Lorg_kde_koala_KCModuleInfo_2IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent)
{
(void) cls;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Lorg_kde_koala_KCModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name)
{
(void) cls;
static TQCString* _qstring_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_loadModule__Lorg_kde_koala_KCModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name, jobjectArray args)
+Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name, jobjectArray args)
{
(void) cls;
static TQCString* _qstring_name = 0;
static TQStringList* _qlist_args = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KCModuleLoader_newKCModuleLoader(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDECModuleLoader_newTDECModuleLoader(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KCModuleLoaderJBridge());
+ QtSupport::setQt(env, obj, new TDECModuleLoaderJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KCModuleLoader_reportError(JNIEnv* env, jclass cls, jint report, jstring text, jstring details, jobject parent)
+Java_org_kde_koala_TDECModuleLoader_reportError(JNIEnv* env, jclass cls, jint report, jstring text, jstring details, jobject parent)
{
(void) cls;
static TQString* _qstring_text = 0;
static TQString* _qstring_details = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::reportError((KCModuleLoader::ErrorReporting) report, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQString)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::reportError((TDECModuleLoader::ErrorReporting) report, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQString)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule");
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KCModuleLoader_testModule__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module)
+Java_org_kde_koala_TDECModuleLoader_testModule__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module)
{
(void) cls;
static TQString* _qstring_module = 0;
- jboolean xret = (jboolean) KCModuleLoaderJBridge::testModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module));
+ jboolean xret = (jboolean) TDECModuleLoaderJBridge::testModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module));
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KCModuleLoader_testModule__Lorg_kde_koala_KCModuleInfo_2(JNIEnv* env, jclass cls, jobject module)
+Java_org_kde_koala_TDECModuleLoader_testModule__Lorg_kde_koala_TDECModuleInfo_2(JNIEnv* env, jclass cls, jobject module)
{
(void) cls;
- jboolean xret = (jboolean) KCModuleLoaderJBridge::testModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module));
+ jboolean xret = (jboolean) TDECModuleLoaderJBridge::testModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module));
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KCModuleLoader_unloadModule(JNIEnv* env, jclass cls, jobject mod)
+Java_org_kde_koala_TDECModuleLoader_unloadModule(JNIEnv* env, jclass cls, jobject mod)
{
(void) cls;
- KCModuleLoaderJBridge::unloadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, mod));
+ TDECModuleLoaderJBridge::unloadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, mod));
return;
}