diff options
Diffstat (limited to 'kdejava/koala/kdejava/KCModuleLoader.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KCModuleLoader.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kdejava/koala/kdejava/KCModuleLoader.cpp b/kdejava/koala/kdejava/KCModuleLoader.cpp index 445ddf13..e030c1ea 100644 --- a/kdejava/koala/kdejava/KCModuleLoader.cpp +++ b/kdejava/koala/kdejava/KCModuleLoader.cpp @@ -42,8 +42,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_KCModuleLoader_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::toQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report), "org.kde.koala.KCModule"); +static TTQString* _qstring_module = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TTQString&)*(TTQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report), "org.kde.koala.KCModule"); return xret; } @@ -51,8 +51,8 @@ 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) { (void) cls; -static TQString* _qstring_module = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule"); +static TTQString* _qstring_module = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TTQString&)*(TTQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TTQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule"); return xret; } @@ -60,9 +60,9 @@ 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) { (void) cls; -static TQString* _qstring_module = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KCModule"); +static TTQString* _qstring_module = 0; +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TTQString&)*(TTQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KCModule"); return xret; } @@ -70,10 +70,10 @@ 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) { (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::toQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args)), "org.kde.koala.KCModule"); +static TTQString* _qstring_module = 0; +static TTQCString* _qstring_name = 0; +static TTQStringList* _qlist_args = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const TTQString&)*(TTQString*) QtSupport::toTQString(env, module, &_qstring_module), (KCModuleLoader::ErrorReporting) report, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.KCModule"); return xret; } @@ -97,7 +97,7 @@ 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) { (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*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report, (bool) withFallback, (TTQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule"); return xret; } @@ -105,8 +105,8 @@ 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) { (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"); +static TTQCString* _qstring_name = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report, (bool) withFallback, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KCModule"); return xret; } @@ -114,9 +114,9 @@ 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) { (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::toQStringList(env, args, &_qlist_args)), "org.kde.koala.KCModule"); +static TTQCString* _qstring_name = 0; +static TTQStringList* _qlist_args = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::loadModule((const KCModuleInfo&)*(const KCModuleInfo*) QtSupport::getQt(env, module), (KCModuleLoader::ErrorReporting) report, (bool) withFallback, (TTQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.KCModule"); return xret; } @@ -134,9 +134,9 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_KCModuleLoader_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::toQString(env, text, &_qstring_text), (TQString)*(TQString*) QtSupport::toQString(env, details, &_qstring_details), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule"); +static TTQString* _qstring_text = 0; +static TTQString* _qstring_details = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)KCModuleLoaderJBridge::reportError((KCModuleLoader::ErrorReporting) report, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQString)*(TTQString*) QtSupport::toTQString(env, details, &_qstring_details), (TTQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KCModule"); return xret; } @@ -144,8 +144,8 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCModuleLoader_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::toQString(env, module, &_qstring_module)); +static TTQString* _qstring_module = 0; + jboolean xret = (jboolean) KCModuleLoaderJBridge::testModule((const TTQString&)*(TTQString*) QtSupport::toTQString(env, module, &_qstring_module)); return xret; } |