diff options
Diffstat (limited to 'kdejava/koala/kdejava/KReplace.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KReplace.cpp | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/kdejava/koala/kdejava/KReplace.cpp b/kdejava/koala/kdejava/KReplace.cpp index 8606afd6..22c65227 100644 --- a/kdejava/koala/kdejava/KReplace.cpp +++ b/kdejava/koala/kdejava/KReplace.cpp @@ -1,8 +1,8 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qregexp.h> +#include <tqregexp.h> #include <kreplace.h> #include <kfind.h> -#include <qstring.h> +#include <tqstring.h> #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> @@ -11,9 +11,9 @@ class KReplaceJBridge : public KReplace { public: - KReplaceJBridge(const QString& arg1,const QString& arg2,long arg3,QWidget* arg4) : KReplace(arg1,arg2,arg3,arg4) {}; - KReplaceJBridge(const QString& arg1,const QString& arg2,long arg3) : KReplace(arg1,arg2,arg3) {}; - KReplaceJBridge(const QString& arg1,const QString& arg2,long arg3,QWidget* arg4,QWidget* arg5) : KReplace(arg1,arg2,arg3,arg4,arg5) {}; + KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3,TQWidget* arg4) : KReplace(arg1,arg2,arg3,arg4) {}; + KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3) : KReplace(arg1,arg2,arg3) {}; + KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3,TQWidget* arg4,TQWidget* arg5) : KReplace(arg1,arg2,arg3,arg4,arg5) {}; void public_resetCounts() { KReplace::resetCounts(); return; @@ -47,39 +47,39 @@ public: } return; } - 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; } - 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.KReplace",object,event)) { - return QObject::eventFilter(object,event); + return TQObject::eventFilter(object,event); } else { return TRUE; } @@ -134,17 +134,17 @@ Java_org_kde_koala_KReplace_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplace_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options) { -static QString* _qstring_pattern = 0; -static QString* _qstring_replacement = 0; +static TQString* _qstring_pattern = 0; +static TQString* _qstring_replacement = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const QString&)*(QString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const QString&)*(QString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (long) options)); + QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (long) options)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -153,10 +153,10 @@ static QString* _qstring_replacement = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options, jobject parent) { -static QString* _qstring_pattern = 0; -static QString* _qstring_replacement = 0; +static TQString* _qstring_pattern = 0; +static TQString* _qstring_replacement = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const QString&)*(QString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const QString&)*(QString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (long) options, (QWidget*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (long) options, (TQWidget*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -165,10 +165,10 @@ static QString* _qstring_replacement = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options, jobject parent, jobject replaceDialog) { -static QString* _qstring_pattern = 0; -static QString* _qstring_replacement = 0; +static TQString* _qstring_pattern = 0; +static TQString* _qstring_replacement = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const QString&)*(QString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const QString&)*(QString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (long) options, (QWidget*) QtSupport::getQt(env, parent), (QWidget*) QtSupport::getQt(env, replaceDialog))); + QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (long) options, (TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, replaceDialog))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -206,11 +206,11 @@ JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Ljava_lang_String_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jobject text, jstring pattern, jstring replacement, jint index, jlong options, jintArray replacedLength) { (void) cls; -static QString* _qstring_text = 0; -static QString* _qstring_pattern = 0; -static QString* _qstring_replacement = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_pattern = 0; +static TQString* _qstring_replacement = 0; int* _int_replacedLength = QtSupport::toIntPtr(env, replacedLength); - jint xret = (jint) KReplaceJBridge::replace((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, text, &_qstring_text), (const QString&)*(QString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const QString&)*(QString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); + jint xret = (jint) KReplaceJBridge::replace((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); QtSupport::fromQStringToStringBuffer(env, _qstring_text, text); env->SetIntArrayRegion(replacedLength, 0, 1, (jint *) _int_replacedLength); return xret; @@ -220,10 +220,10 @@ JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Lorg_kde_qt_QRegExp_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jobject text, jobject pattern, jstring replacement, jint index, jlong options, jintArray replacedLength) { (void) cls; -static QString* _qstring_text = 0; -static QString* _qstring_replacement = 0; +static TQString* _qstring_text = 0; +static TQString* _qstring_replacement = 0; int* _int_replacedLength = QtSupport::toIntPtr(env, replacedLength); - jint xret = (jint) KReplaceJBridge::replace((QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, text, &_qstring_text), (const QRegExp&)*(const QRegExp*) QtSupport::getQt(env, pattern), (const QString&)*(QString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); + jint xret = (jint) KReplaceJBridge::replace((TQString&)*(TQString*) QtSupport::toQStringFromStringBuffer(env, text, &_qstring_text), (const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, pattern), (const TQString&)*(TQString*) QtSupport::toQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); QtSupport::fromQStringToStringBuffer(env, _qstring_text, text); env->SetIntArrayRegion(replacedLength, 0, 1, (jint *) _int_replacedLength); return xret; |