diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /kdejava/koala/kdejava/Plugin.cpp | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'kdejava/koala/kdejava/Plugin.cpp')
-rw-r--r-- | kdejava/koala/kdejava/Plugin.cpp | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/kdejava/koala/kdejava/Plugin.cpp b/kdejava/koala/kdejava/Plugin.cpp index 3361a8be..d442bf22 100644 --- a/kdejava/koala/kdejava/Plugin.cpp +++ b/kdejava/koala/kdejava/Plugin.cpp @@ -12,45 +12,45 @@ class PluginJBridge : public KParts::Plugin { public: - PluginJBridge(TQObject* arg1,const char* arg2) : KParts::Plugin(arg1,arg2) {}; - PluginJBridge(TQObject* arg1) : KParts::Plugin(arg1) {}; + PluginJBridge(TTQObject* arg1,const char* arg2) : KParts::Plugin(arg1,arg2) {}; + PluginJBridge(TTQObject* arg1) : KParts::Plugin(arg1) {}; PluginJBridge() : KParts::Plugin() {}; void protected_setInstance(KInstance* arg1) { KParts::Plugin::setInstance(arg1); return; } - static KParts::Plugin* protected_loadPlugin(TQObject* arg1,const char* arg2) { + static KParts::Plugin* protected_loadPlugin(TTQObject* arg1,const char* arg2) { return (KParts::Plugin*) KParts::Plugin::loadPlugin(arg1,arg2); } - void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { + void protected_setXMLFile(const TTQString& arg1,bool arg2,bool arg3) { KXMLGUIClient::setXMLFile(arg1,arg2,arg3); return; } - void protected_setXMLFile(const TQString& arg1,bool arg2) { + void protected_setXMLFile(const TTQString& arg1,bool arg2) { KXMLGUIClient::setXMLFile(arg1,arg2); return; } - void protected_setXMLFile(const TQString& arg1) { + void protected_setXMLFile(const TTQString& arg1) { KXMLGUIClient::setXMLFile(arg1); return; } - void protected_setLocalXMLFile(const TQString& arg1) { + void protected_setLocalXMLFile(const TTQString& arg1) { KXMLGUIClient::setLocalXMLFile(arg1); return; } - void protected_setXML(const TQString& arg1,bool arg2) { + void protected_setXML(const TTQString& arg1,bool arg2) { KXMLGUIClient::setXML(arg1,arg2); return; } - void protected_setXML(const TQString& arg1) { + void protected_setXML(const TTQString& arg1) { KXMLGUIClient::setXML(arg1); return; } - void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { + void protected_setDOMDocument(const TTQDomDocument& arg1,bool arg2) { KXMLGUIClient::setDOMDocument(arg1,arg2); return; } - void protected_setDOMDocument(const TQDomDocument& arg1) { + void protected_setDOMDocument(const TTQDomDocument& arg1) { KXMLGUIClient::setDOMDocument(arg1); return; } @@ -58,17 +58,17 @@ public: KXMLGUIClient::conserveMemory(); return; } - void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { + void protected_stateChanged(const TTQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { KXMLGUIClient::stateChanged(arg1,arg2); return; } - void protected_stateChanged(const TQString& arg1) { + void protected_stateChanged(const TTQString& arg1) { KXMLGUIClient::stateChanged(arg1); return; } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); + void removeChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::removeChild(arg1); } return; } @@ -78,33 +78,33 @@ public: } return; } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); + void customEvent(TTQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) { + TTQObject::customEvent(arg1); } return; } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); + void timerEvent(TTQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) { + TTQObject::timerEvent(arg1); } return; } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); + void childEvent(TTQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) { + TTQObject::childEvent(arg1); } return; } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); + void insertChild(TTQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) { + TTQObject::insertChild(arg1); } return; } - bool eventFilter(TQObject* object,TQEvent* event) { + bool eventFilter(TTQObject* object,TTQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Plugin",object,event)) { - return TQObject::eventFilter(object,event); + return TTQObject::eventFilter(object,event); } else { return TRUE; } @@ -127,7 +127,7 @@ Java_org_kde_koala_Plugin_actionCollection(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) { -static TQCString* _qstring_name = 0; +static TTQCString* _qstring_name = 0; jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KAction"); return xret; } @@ -135,32 +135,32 @@ static TQCString* _qstring_name = 0; JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.KAction"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const TTQDomElement&)*(const TTQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.KAction"); return xret; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) { -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toQString(env, action, &_qstring_action)); +static TTQString* _qstring_state = 0; +static TTQString* _qstring_action = 0; + ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TTQString&)*(TTQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, action, &_qstring_action)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) { -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toQString(env, action, &_qstring_action)); +static TTQString* _qstring_state = 0; +static TTQString* _qstring_action = 0; + ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TTQString&)*(TTQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, action, &_qstring_action)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) { - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); + ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->beginXMLPlug((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -189,7 +189,7 @@ Java_org_kde_koala_Plugin_conserveMemory(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_domDocument(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TTQDomDocument", TRUE); return xret; } @@ -210,13 +210,13 @@ Java_org_kde_koala_Plugin_factory(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = PluginJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, doc, &_qstring_doc)); - QtSupport::fromQStringToStringBuffer(env, _qstring_doc, doc); - return QtSupport::fromQString(env, &_qstring); +static TTQStringList* _qlist_files = 0; +static TTQString* _qstring_doc = 0; + _qstring = PluginJBridge::findMostRecentXMLFile((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TTQString&)*(TTQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -237,8 +237,8 @@ JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_loadPlugin(JNIEnv* env, jclass cls, jobject parent, jstring libname) { (void) cls; -static TQCString* _qstring_libname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)PluginJBridge::protected_loadPlugin((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, libname, &_qstring_libname)), "org.kde.koala.Plugin"); +static TTQCString* _qstring_libname = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)PluginJBridge::protected_loadPlugin((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, libname, &_qstring_libname)), "org.kde.koala.Plugin"); return xret; } @@ -246,7 +246,7 @@ JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KInstanceInterface_2(JNIEnv* env, jclass cls, jobject parent, jobject instance) { (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (const KInstance*) QtSupport::getQt(env, instance)); + PluginJBridge::loadPlugins((TTQObject*) QtSupport::getQt(env, parent), (const KInstance*) QtSupport::getQt(env, instance)); return; } @@ -254,7 +254,7 @@ JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_KInstanceInterface_2(JNIEnv* env, jclass cls, jobject parent, jobject parentGUIClient, jobject instance) { (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (KInstance*) QtSupport::getQt(env, instance)); + PluginJBridge::loadPlugins((TTQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (KInstance*) QtSupport::getQt(env, instance)); return; } @@ -262,22 +262,22 @@ JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_KInstanceInterface_2Z(JNIEnv* env, jclass cls, jobject parent, jobject parentGUIClient, jobject instance, jboolean enableNewPluginsByDefault) { (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (KInstance*) QtSupport::getQt(env, instance), (bool) enableNewPluginsByDefault); + PluginJBridge::loadPlugins((TTQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (KInstance*) QtSupport::getQt(env, instance), (bool) enableNewPluginsByDefault); return; } JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_localXMLFile(JNIEnv* env, jobject obj) { - TQString _qstring; + TTQString _qstring; _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromQString(env, &_qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Plugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Plugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject"); return xret; } @@ -295,7 +295,7 @@ JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PluginJBridge((TQObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new PluginJBridge((TTQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -304,9 +304,9 @@ Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { -static TQCString* _qstring_name = 0; +static TTQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PluginJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new PluginJBridge((TTQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -322,7 +322,7 @@ Java_org_kde_koala_Plugin_parentClient(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) { - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); + ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TTQWidget*) QtSupport::getQt(env, arg1)); return; } @@ -350,14 +350,14 @@ Java_org_kde_koala_Plugin_setClientBuilder(JNIEnv* env, jobject obj, jobject bui JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) { - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TTQDomDocument&)*(const TTQDomDocument*) QtSupport::getQt(env, document)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) { - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TTQDomDocument&)*(const TTQDomDocument*) QtSupport::getQt(env, document), (bool) merge); return; } @@ -378,94 +378,94 @@ Java_org_kde_koala_Plugin_setInstance(JNIEnv* env, jobject obj, jobject instance JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) { -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file)); +static TTQString* _qstring_file = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) { -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file)); +static TTQString* _qstring_file = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) { -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file), (bool) merge); +static TTQString* _qstring_file = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) { -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); +static TTQString* _qstring_file = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TTQString&)*(TTQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) { - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); + ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TTQDomDocument&)*(const TTQDomDocument*) QtSupport::getQt(env, doc)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) { -static TQString* _qstring_document = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toQString(env, document, &_qstring_document)); +static TTQString* _qstring_document = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TTQString&)*(TTQString*) QtSupport::toTQString(env, document, &_qstring_document)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) { -static TQString* _qstring_document = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toQString(env, document, &_qstring_document), (bool) merge); +static TTQString* _qstring_document = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TTQString&)*(TTQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) { -static TQString* _qstring_newstate = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toQString(env, newstate, &_qstring_newstate)); +static TTQString* _qstring_newstate = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TTQString&)*(TTQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) { -static TQString* _qstring_newstate = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); +static TTQString* _qstring_newstate = 0; + ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TTQString&)*(TTQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); return; } JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_unplugActionList(JNIEnv* env, jobject obj, jstring name) { -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name)); +static TTQString* _qstring_name = 0; + ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->unplugActionList((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name)); return; } JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_xmlFile(JNIEnv* env, jobject obj) { - TQString _qstring; + TTQString _qstring; _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromQString(env, &_qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_xmlguiBuildDocument(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); + jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TTQDomDocument", TRUE); return xret; } |