diff options
Diffstat (limited to 'kdejava')
-rw-r--r-- | kdejava/ChangeLog | 2 | ||||
-rw-r--r-- | kdejava/koala/kdejava/DCOPClient.cpp | 28 | ||||
-rw-r--r-- | kdejava/koala/kdejava/DCOPObject.cpp | 16 | ||||
-rw-r--r-- | kdejava/koala/kdejava/KCmdLineArgs.cpp | 4 | ||||
-rw-r--r-- | kdejava/koala/kdejava/KDESupport.cpp | 10 | ||||
-rw-r--r-- | kdejava/koala/kdejava/KDESupport.h | 6 | ||||
-rw-r--r-- | kdejava/koala/kdejava/KPanelAppMenu.cpp | 16 | ||||
-rw-r--r-- | kdejava/koala/kdejava/KSycoca.cpp | 16 | ||||
-rw-r--r-- | kdejava/koala/kdejava/KUniqueApplication.cpp | 16 | ||||
-rw-r--r-- | kdejava/koala/kdejava/Observer.cpp | 16 | ||||
-rw-r--r-- | kdejava/koala/kdejava/Scheduler.cpp | 16 |
11 files changed, 73 insertions, 73 deletions
diff --git a/kdejava/ChangeLog b/kdejava/ChangeLog index 5eb87fac..421aba49 100644 --- a/kdejava/ChangeLog +++ b/kdejava/ChangeLog @@ -295,7 +295,7 @@ ready for the KDE 2.2 beta baseline. 2001-05-07 Richard Dale <[email protected] * Sources regenerated for KDE 2.2. - * TQByteArray/TQCStringList now converted correctly. + * TQByteArray/QCStringList now converted correctly. * String conversions improved, no longer inline, but all methods in QtSupport.h/cpp. * Argc/Argv parameters all have dummy java argv[0] added. diff --git a/kdejava/koala/kdejava/DCOPClient.cpp b/kdejava/koala/kdejava/DCOPClient.cpp index 44400e30..db18b2d5 100644 --- a/kdejava/koala/kdejava/DCOPClient.cpp +++ b/kdejava/koala/kdejava/DCOPClient.cpp @@ -452,73 +452,73 @@ static TQCString* _qcstring_appId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_registeredApplications(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->registeredApplications(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj) { - TQCStringList _qlist; + QCStringList _qlist; static TQCString* _qcstring_remApp = 0; static TQCString* _qcstring_remObj = 0; _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj)); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok) { - TQCStringList _qlist; + QCStringList _qlist; static TQCString* _qcstring_remApp = 0; static TQCString* _qcstring_remObj = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj) { - TQCStringList _qlist; + QCStringList _qlist; static TQCString* _qcstring_remApp = 0; static TQCString* _qcstring_remObj = 0; _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj)); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok) { - TQCStringList _qlist; + QCStringList _qlist; static TQCString* _qcstring_remApp = 0; static TQCString* _qcstring_remObj = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp) { - TQCStringList _qlist; + QCStringList _qlist; static TQCString* _qcstring_remApp = 0; _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp)); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jbooleanArray ok) { - TQCStringList _qlist; + QCStringList _qlist; static TQCString* _qcstring_remApp = 0; bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (bool*) _bool_ok); env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT void JNICALL diff --git a/kdejava/koala/kdejava/DCOPObject.cpp b/kdejava/koala/kdejava/DCOPObject.cpp index ad900230..bfce1f72 100644 --- a/kdejava/koala/kdejava/DCOPObject.cpp +++ b/kdejava/koala/kdejava/DCOPObject.cpp @@ -83,17 +83,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_functionsDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_functions(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL @@ -108,17 +108,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_interfacesDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_interfaces(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL diff --git a/kdejava/koala/kdejava/KCmdLineArgs.cpp b/kdejava/koala/kdejava/KCmdLineArgs.cpp index f352aba2..e6b858c1 100644 --- a/kdejava/koala/kdejava/KCmdLineArgs.cpp +++ b/kdejava/koala/kdejava/KCmdLineArgs.cpp @@ -115,10 +115,10 @@ Java_org_kde_koala_KCmdLineArgs_enable_1i18n(JNIEnv* env, jclass cls) JNIEXPORT jobject JNICALL Java_org_kde_koala_KCmdLineArgs_getOptionList(JNIEnv* env, jobject obj, jstring option) { - TQCStringList _qlist; + QCStringList _qlist; static TQCString* _qstring_option = 0; _qlist = ((KCmdLineArgs*) QtSupport::getQt(env, obj))->getOptionList((const char*) QtSupport::toCharString(env, option, &_qstring_option)); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jstring JNICALL diff --git a/kdejava/koala/kdejava/KDESupport.cpp b/kdejava/koala/kdejava/KDESupport.cpp index 0b2407f8..5d5d51bd 100644 --- a/kdejava/koala/kdejava/KDESupport.cpp +++ b/kdejava/koala/kdejava/KDESupport.cpp @@ -198,7 +198,7 @@ KDESupport::toTQByteArrayFromStream(JNIEnv * env, TQByteArray * qbyteArray, jobj } jobject -KDESupport::arrayWithTQCStringList(JNIEnv * env, TQCStringList * qcstringList) +KDESupport::arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList) { jobject objectArray; jclass cls; @@ -220,7 +220,7 @@ KDESupport::arrayWithTQCStringList(JNIEnv * env, TQCStringList * qcstringList) return NULL; } - TQCStringList::Iterator it; + QCStringList::Iterator it; for (it = qcstringList->begin(); it != qcstringList->end(); ++it) { TQCString currentTQCString = (TQCString) *it; @@ -502,8 +502,8 @@ KDESupport::arrayWithMediaList(JNIEnv * env, DOM::MediaList * mediaList) return (jobject) objectArray; } -TQCStringList * -KDESupport::toTQCStringList(JNIEnv * env, jobjectArray stringList, TQCStringList ** qstringList) +QCStringList * +KDESupport::toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList ** qstringList) { int length; int index; @@ -511,7 +511,7 @@ KDESupport::toTQCStringList(JNIEnv * env, jobjectArray stringList, TQCStringList static TQCString * _qstring_temp = 0; if (*qstringList == 0) { - *qstringList = new TQCStringList(); + *qstringList = new QCStringList(); } (*qstringList)->clear(); diff --git a/kdejava/koala/kdejava/KDESupport.h b/kdejava/koala/kdejava/KDESupport.h index 39777822..4e69da17 100644 --- a/kdejava/koala/kdejava/KDESupport.h +++ b/kdejava/koala/kdejava/KDESupport.h @@ -57,7 +57,7 @@ public: static TQByteArray * toTQByteArrayFromStream(JNIEnv * env, TQByteArray * byteArray, jobject byteStream); /** Returns a Java ArrayList for the various types of KDE List */ - static jobject arrayWithTQCStringList(JNIEnv * env, TQCStringList * qcstringList); + static jobject arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList); static jobject arrayWithOfferList(JNIEnv * env, KTrader::OfferList * offerList); static jobject arrayWithKMainWindowList(JNIEnv * env, TQPtrList<KMainWindow>* memberList); static jobject arrayWithKFileItemList(JNIEnv * env, KFileItemList * itemList); @@ -66,8 +66,8 @@ public: static jobject arrayWithStyleSheetList(JNIEnv * env, DOM::StyleSheetList * styleSheetList); static jobject arrayWithMediaList(JNIEnv * env, DOM::MediaList * mediaList); - /** Convert from ArrayList to TQCStringList */ - static TQCStringList * toTQCStringList(JNIEnv * env, jobjectArray stringList, TQCStringList ** qstringList); + /** Convert from ArrayList to QCStringList */ + static QCStringList * toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList ** qstringList); }; diff --git a/kdejava/koala/kdejava/KPanelAppMenu.cpp b/kdejava/koala/kdejava/KPanelAppMenu.cpp index 7b664248..3f4f86be 100644 --- a/kdejava/koala/kdejava/KPanelAppMenu.cpp +++ b/kdejava/koala/kdejava/KPanelAppMenu.cpp @@ -144,17 +144,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_functionsDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_functions(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL @@ -225,17 +225,17 @@ static TQString* _qstring_text = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_interfacesDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_interfaces(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL diff --git a/kdejava/koala/kdejava/KSycoca.cpp b/kdejava/koala/kdejava/KSycoca.cpp index 1546c832..e5a13153 100644 --- a/kdejava/koala/kdejava/KSycoca.cpp +++ b/kdejava/koala/kdejava/KSycoca.cpp @@ -221,17 +221,17 @@ Java_org_kde_koala_KSycoca_flagError(JNIEnv* env, jclass cls) JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_functionsDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_functions(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL @@ -246,17 +246,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_interfacesDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_interfaces(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL diff --git a/kdejava/koala/kdejava/KUniqueApplication.cpp b/kdejava/koala/kdejava/KUniqueApplication.cpp index fa3e82cb..3d749093 100644 --- a/kdejava/koala/kdejava/KUniqueApplication.cpp +++ b/kdejava/koala/kdejava/KUniqueApplication.cpp @@ -157,17 +157,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_functionsDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_functions(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL @@ -182,17 +182,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_interfacesDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_interfaces(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL diff --git a/kdejava/koala/kdejava/Observer.cpp b/kdejava/koala/kdejava/Observer.cpp index 1487b0d1..098d9f5c 100644 --- a/kdejava/koala/kdejava/Observer.cpp +++ b/kdejava/koala/kdejava/Observer.cpp @@ -115,17 +115,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_functionsDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_functions(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jboolean JNICALL @@ -140,17 +140,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_interfacesDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_interfaces(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT void JNICALL diff --git a/kdejava/koala/kdejava/Scheduler.cpp b/kdejava/koala/kdejava/Scheduler.cpp index afe0436c..e7039210 100644 --- a/kdejava/koala/kdejava/Scheduler.cpp +++ b/kdejava/koala/kdejava/Scheduler.cpp @@ -201,17 +201,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_functionsDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KIO::Scheduler*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_functions(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((KIO::Scheduler*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL @@ -234,17 +234,17 @@ static TQCString* _qcstring_objId = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_interfacesDynamic(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KIO::Scheduler*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_interfaces(JNIEnv* env, jobject obj) { - TQCStringList _qlist; + QCStringList _qlist; _qlist = ((DCOPObject*)(KIO::Scheduler*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithTQCStringList(env, (TQCStringList*) &_qlist); + return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); } JNIEXPORT void JNICALL |