diff options
Diffstat (limited to 'kdejava/koala/kdejava/KSpell.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KSpell.cpp | 186 |
1 files changed, 93 insertions, 93 deletions
diff --git a/kdejava/koala/kdejava/KSpell.cpp b/kdejava/koala/kdejava/KSpell.cpp index ab4bfc70..1c702a9a 100644 --- a/kdejava/koala/kdejava/KSpell.cpp +++ b/kdejava/koala/kdejava/KSpell.cpp @@ -1,8 +1,8 @@ //Auto-generated by kalyptus. DO NOT EDIT. #include <ksconfig.h> #include <kspell.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> @@ -11,27 +11,27 @@ class KSpellJBridge : public KSpell { public: - KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5) : KSpell(arg1,arg2,arg3,arg4,arg5) {}; - KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4) : KSpell(arg1,arg2,arg3,arg4) {}; - KSpellJBridge(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; + KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; + KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6) {}; + KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5) : KSpell(arg1,arg2,arg3,arg4,arg5) {}; + KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : KSpell(arg1,arg2,arg3,arg4) {}; + KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; void public_cleanUp() { KSpell::cleanUp(); return; } - int protected_parseOneResponse(const QString& arg1,QString& arg2,QStringList& arg3) { + int protected_parseOneResponse(const TQString& arg1,TQString& arg2,TQStringList& arg3) { return (int) KSpell::parseOneResponse(arg1,arg2,arg3); } - QString protected_funnyWord(const QString& arg1) { - return (QString) KSpell::funnyWord(arg1); + TQString protected_funnyWord(const TQString& arg1) { + return (TQString) KSpell::funnyWord(arg1); } - void protected_dialog(const QString& arg1,QStringList& arg2,const char* arg3) { + void protected_dialog(const TQString& arg1,TQStringList& arg2,const char* arg3) { KSpell::dialog(arg1,arg2,arg3); return; } - QString protected_replacement() { - return (QString) KSpell::replacement(); + TQString protected_replacement() { + return (TQString) KSpell::replacement(); } void protected_setUpDialog(bool arg1) { KSpell::setUpDialog(arg1); @@ -45,16 +45,16 @@ public: KSpell::emitProgress(); return; } - bool protected_cleanFputs(const QString& arg1,bool arg2) { + bool protected_cleanFputs(const TQString& arg1,bool arg2) { return (bool) KSpell::cleanFputs(arg1,arg2); } - bool protected_cleanFputs(const QString& arg1) { + bool protected_cleanFputs(const TQString& arg1) { return (bool) KSpell::cleanFputs(arg1); } - bool protected_cleanFputsWord(const QString& arg1,bool arg2) { + bool protected_cleanFputsWord(const TQString& arg1,bool arg2) { return (bool) KSpell::cleanFputsWord(arg1,arg2); } - bool protected_cleanFputsWord(const QString& arg1) { + bool protected_cleanFputsWord(const TQString& arg1) { return (bool) KSpell::cleanFputsWord(arg1); } void protected_startIspell() { @@ -64,7 +64,7 @@ public: bool protected_writePersonalDictionary() { return (bool) KSpell::writePersonalDictionary(); } - void protected_initialize(QWidget* arg1,const QString& arg2,QObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) { + void protected_initialize(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) { KSpell::initialize(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); return; } @@ -133,27 +133,27 @@ public: return; } ~KSpellJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(QObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) { - QObject::removeChild(arg1); + void removeChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::removeChild(arg1); } return; } - void customEvent(QCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) { - QObject::customEvent(arg1); + void customEvent(TQCustomEvent* arg1) { + if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { + TQObject::customEvent(arg1); } return; } - void timerEvent(QTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) { - QObject::timerEvent(arg1); + void timerEvent(TQTimerEvent* arg1) { + if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { + TQObject::timerEvent(arg1); } return; } - void childEvent(QChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) { - QObject::childEvent(arg1); + void childEvent(TQChildEvent* arg1) { + if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { + TQObject::childEvent(arg1); } return; } @@ -163,15 +163,15 @@ public: } return; } - void insertChild(QObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) { - QObject::insertChild(arg1); + void insertChild(TQObject* arg1) { + if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { + TQObject::insertChild(arg1); } return; } - bool eventFilter(QObject* object,QEvent* event) { + bool eventFilter(TQObject* object,TQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSpell",object,event)) { - return QObject::eventFilter(object,event); + return TQObject::eventFilter(object,event); } else { return TRUE; } @@ -188,8 +188,8 @@ Java_org_kde_koala_KSpell_KSpell2(JNIEnv* env, jobject obj, jobject arg1) JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_addPersonal(JNIEnv* env, jobject obj, jstring word) { -static QString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->addPersonal((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word)); +static TQString* _qstring_word = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->addPersonal((const TQString&)*(TQString*) QtSupport::toQString(env, word, &_qstring_word)); return xret; } @@ -238,16 +238,16 @@ Java_org_kde_koala_KSpell_checkListReplaceCurrent(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray _wordlist) { -static QStringList* _qlist__wordlist = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((QStringList*) QtSupport::toQStringList(env, _wordlist, &_qlist__wordlist)); +static TQStringList* _qlist__wordlist = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((TQStringList*) QtSupport::toQStringList(env, _wordlist, &_qlist__wordlist)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray _wordlist, jboolean usedialog) { -static QStringList* _qlist__wordlist = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((QStringList*) QtSupport::toQStringList(env, _wordlist, &_qlist__wordlist), (bool) usedialog); +static TQStringList* _qlist__wordlist = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((TQStringList*) QtSupport::toQStringList(env, _wordlist, &_qlist__wordlist), (bool) usedialog); return xret; } @@ -275,40 +275,40 @@ Java_org_kde_koala_KSpell_checkWord3(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer) { -static QString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer)); +static TQString* _qstring__buffer = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toQString(env, _buffer, &_qstring__buffer)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog) { -static QString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (bool) usedialog); +static TQString* _qstring__buffer = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (bool) usedialog); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring buffer, jboolean _usedialog, jboolean suggest) { -static QString* _qstring_buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const QString&)*(QString*) QtSupport::toQString(env, buffer, &_qstring_buffer), (bool) _usedialog, (bool) suggest); +static TQString* _qstring_buffer = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toQString(env, buffer, &_qstring_buffer), (bool) _usedialog, (bool) suggest); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_check__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer) { -static QString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer)); +static TQString* _qstring__buffer = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const TQString&)*(TQString*) QtSupport::toQString(env, _buffer, &_qstring__buffer)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_check__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog) { -static QString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (bool) usedialog); +static TQString* _qstring__buffer = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const TQString&)*(TQString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (bool) usedialog); return xret; } @@ -323,32 +323,32 @@ Java_org_kde_koala_KSpell_className(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) { -static QString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s)); +static TQString* _qstring_s = 0; + jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const TQString&)*(TQString*) QtSupport::toQString(env, s, &_qstring_s)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR) { -static QString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s), (bool) appendCR); +static TQString* _qstring_s = 0; + jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const TQString&)*(TQString*) QtSupport::toQString(env, s, &_qstring_s), (bool) appendCR); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) { -static QString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s)); +static TQString* _qstring_s = 0; + jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const TQString&)*(TQString*) QtSupport::toQString(env, s, &_qstring_s)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR) { -static QString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const QString&)*(QString*) QtSupport::toQString(env, s, &_qstring_s), (bool) appendCR); +static TQString* _qstring_s = 0; + jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const TQString&)*(TQString*) QtSupport::toQString(env, s, &_qstring_s), (bool) appendCR); return xret; } @@ -369,10 +369,10 @@ Java_org_kde_koala_KSpell_dialog2(JNIEnv* env, jobject obj, jint dlgresult) JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_dialog(JNIEnv* env, jobject obj, jstring word, jobjectArray sugg, jstring _slot) { -static QString* _qstring_word = 0; -static QStringList* _qlist_sugg = 0; -static QCString* _qstring__slot = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word), (QStringList&)*(QStringList*) QtSupport::toQStringList(env, sugg, &_qlist_sugg), (const char*) QtSupport::toCharString(env, _slot, &_qstring__slot)); +static TQString* _qstring_word = 0; +static TQStringList* _qlist_sugg = 0; +static TQCString* _qstring__slot = 0; + ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog((const TQString&)*(TQString*) QtSupport::toQString(env, word, &_qstring_word), (TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, sugg, &_qlist_sugg), (const char*) QtSupport::toCharString(env, _slot, &_qstring__slot)); return; } @@ -417,9 +417,9 @@ Java_org_kde_koala_KSpell_finalize(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_funnyWord(JNIEnv* env, jobject obj, jstring word) { - QString _qstring; -static QString* _qstring_word = 0; - _qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_funnyWord((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word)); + TQString _qstring; +static TQString* _qstring_word = 0; + _qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_funnyWord((const TQString&)*(TQString*) QtSupport::toQString(env, word, &_qstring_word)); return QtSupport::fromQString(env, &_qstring); } @@ -440,24 +440,24 @@ Java_org_kde_koala_KSpell_hide(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_ignore(JNIEnv* env, jobject obj, jstring word) { -static QString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->ignore((const QString&)*(QString*) QtSupport::toQString(env, word, &_qstring_word)); +static TQString* _qstring_word = 0; + jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->ignore((const TQString&)*(TQString*) QtSupport::toQString(env, word, &_qstring_word)); return xret; } JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_initialize(JNIEnv* env, jobject obj, jobject _parent, jstring _caption, jobject arg3, jstring slot, jobject _ksc, jboolean _progressbar, jboolean _modal, jint type) { -static QString* _qstring__caption = 0; -static QCString* _qstring_slot = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_initialize((QWidget*) QtSupport::getQt(env, _parent), (const QString&)*(QString*) QtSupport::toQString(env, _caption, &_qstring__caption), (QObject*) QtSupport::getQt(env, arg3), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot), (KSpellConfig*) QtSupport::getQt(env, _ksc), (bool) _progressbar, (bool) _modal, (KSpell::SpellerType) type); +static TQString* _qstring__caption = 0; +static TQCString* _qstring_slot = 0; + ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_initialize((TQWidget*) QtSupport::getQt(env, _parent), (const TQString&)*(TQString*) QtSupport::toQString(env, _caption, &_qstring__caption), (TQObject*) QtSupport::getQt(env, arg3), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot), (KSpellConfig*) QtSupport::getQt(env, _ksc), (bool) _progressbar, (bool) _modal, (KSpell::SpellerType) type); return; } JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_intermediateBuffer(JNIEnv* env, jobject obj) { - QString _qstring; + TQString _qstring; _qstring = ((KSpell*) QtSupport::getQt(env, obj))->intermediateBuffer(); return QtSupport::fromQString(env, &_qstring); } @@ -471,7 +471,7 @@ Java_org_kde_koala_KSpell_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_ispellErrors(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint arg3) { -static QCString* _qstring_arg2 = 0; +static TQCString* _qstring_arg2 = 0; ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellErrors((KProcess*) QtSupport::getQt(env, arg1), (char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (int) arg3); return; } @@ -500,7 +500,7 @@ Java_org_kde_koala_KSpell_lastPosition(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpell*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpell*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } @@ -508,8 +508,8 @@ JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_modalCheck(JNIEnv* env, jclass cls, jobject text, jobject kcs) { (void) cls; -static QString* _qstring_text = 0; - jint xret = (jint) KSpellJBridge::modalCheck((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, text, &_qstring_text), (KSpellConfig*) QtSupport::getQt(env, kcs)); +static TQString* _qstring_text = 0; + jint xret = (jint) KSpellJBridge::modalCheck((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, text, &_qstring_text), (KSpellConfig*) QtSupport::getQt(env, kcs)); QtSupport::fromQStringToStringBuffer(env, _qstring_text, text); return xret; } @@ -524,9 +524,9 @@ Java_org_kde_koala_KSpell_moveDlg(JNIEnv* env, jobject obj, jint x, jint y) JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot) { -static QString* _qstring_caption = 0; +static TQString* _qstring_caption = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); + QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -535,9 +535,9 @@ static QString* _qstring_caption = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs) { -static QString* _qstring_caption = 0; +static TQString* _qstring_caption = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs))); + QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -546,9 +546,9 @@ static QString* _qstring_caption = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar) { -static QString* _qstring_caption = 0; +static TQString* _qstring_caption = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar)); + QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -557,9 +557,9 @@ static QString* _qstring_caption = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal) { -static QString* _qstring_caption = 0; +static TQString* _qstring_caption = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal)); + QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -568,9 +568,9 @@ static QString* _qstring_caption = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal, jint type) { -static QString* _qstring_caption = 0; +static TQString* _qstring_caption = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((QWidget*) QtSupport::getQt(env, parent), (const QString&)*(QString*) QtSupport::toQString(env, caption, &_qstring_caption), (QObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal, (KSpell::SpellerType) type)); + QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal, (KSpell::SpellerType) type)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -579,10 +579,10 @@ static QString* _qstring_caption = 0; JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_parseOneResponse(JNIEnv* env, jobject obj, jstring _buffer, jobject word, jobjectArray sugg) { -static QString* _qstring__buffer = 0; -static QString* _qstring_word = 0; -static QStringList* _qlist_sugg = 0; - jint xret = (jint) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_parseOneResponse((const QString&)*(QString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, word, &_qstring_word), (QStringList&)*(QStringList*) QtSupport::toQStringList(env, sugg, &_qlist_sugg)); +static TQString* _qstring__buffer = 0; +static TQString* _qstring_word = 0; +static TQStringList* _qlist_sugg = 0; + jint xret = (jint) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_parseOneResponse((const TQString&)*(TQString*) QtSupport::toQString(env, _buffer, &_qstring__buffer), (TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, word, &_qstring_word), (TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, sugg, &_qlist_sugg)); QtSupport::fromQStringToStringBuffer(env, _qstring_word, word); return xret; } @@ -590,7 +590,7 @@ static QStringList* _qlist_sugg = 0; JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_replacement(JNIEnv* env, jobject obj) { - QString _qstring; + TQString _qstring; _qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_replacement(); return QtSupport::fromQString(env, &_qstring); } @@ -668,9 +668,9 @@ Java_org_kde_koala_KSpell_suggestWord(JNIEnv* env, jobject obj, jobject arg1) JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_suggestions(JNIEnv* env, jobject obj) { - QStringList _qlist; + TQStringList _qlist; _qlist = ((KSpell*) QtSupport::getQt(env, obj))->suggestions(); - return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist); + return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); } JNIEXPORT jint JNICALL |