diff options
Diffstat (limited to 'kdejava/koala/kdejava/KProcess.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KProcess.cpp | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/kdejava/koala/kdejava/KProcess.cpp b/kdejava/koala/kdejava/KProcess.cpp index bc0cdb15..010b504a 100644 --- a/kdejava/koala/kdejava/KProcess.cpp +++ b/kdejava/koala/kdejava/KProcess.cpp @@ -1,8 +1,8 @@ //Auto-generated by kalyptus. DO NOT EDIT. #include <kprocess.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qcstring.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqcstring.h> #include <qtjava/QtSupport.h> #include <kdejava/KDESupport.h> @@ -11,8 +11,8 @@ class KProcessJBridge : public KProcess { public: - KProcessJBridge(QObject* arg1,const char* arg2) : KProcess(arg1,arg2) {}; - KProcessJBridge(QObject* arg1) : KProcess(arg1) {}; + KProcessJBridge(TQObject* arg1,const char* arg2) : KProcess(arg1,arg2) {}; + KProcessJBridge(TQObject* arg1) : KProcess(arg1) {}; KProcessJBridge() : KProcess() {}; void protected_setupEnvironment() { KProcess::setupEnvironment(); @@ -58,33 +58,33 @@ public: return; } ~KProcessJBridge() {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; } - 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; } @@ -94,9 +94,9 @@ public: } return; } - bool eventFilter(QObject* object,QEvent* event) { + bool eventFilter(TQObject* object,TQEvent* event) { if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProcess",object,event)) { - return QObject::eventFilter(object,event); + return TQObject::eventFilter(object,event); } else { return TRUE; } @@ -263,7 +263,7 @@ Java_org_kde_koala_KProcess_kill__I(JNIEnv* env, jobject obj, jint signo) JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcess_metaObject(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); return xret; } @@ -281,7 +281,7 @@ JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProcessJBridge((QObject*) QtSupport::getQt(env, parent))); + QtSupport::setQt(env, obj, new KProcessJBridge((TQObject*) QtSupport::getQt(env, parent))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -290,9 +290,9 @@ Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobj JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) { -static QCString* _qstring_name = 0; +static TQCString* _qstring_name = 0; if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProcessJBridge((QObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); + QtSupport::setQt(env, obj, new KProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; @@ -308,16 +308,16 @@ Java_org_kde_koala_KProcess_normalExit(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcess_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg) { -static QString* _qstring_arg = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const QString&)*(QString*) QtSupport::toQString(env, arg, &_qstring_arg)), "org.kde.koala.KProcess"); +static TQString* _qstring_arg = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TQString&)*(TQString*) QtSupport::toQString(env, arg, &_qstring_arg)), "org.kde.koala.KProcess"); return xret; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcess_op_1write___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args) { -static QStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const QStringList&)*(QStringList*) QtSupport::toQStringList(env, args, &_qlist_args)), "org.kde.koala.KProcess"); +static TQStringList* _qlist_args = 0; + jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TQStringList&)*(TQStringList*) QtSupport::toQStringList(env, args, &_qlist_args)), "org.kde.koala.KProcess"); return xret; } @@ -338,10 +338,10 @@ Java_org_kde_koala_KProcess_processHasExited(JNIEnv* env, jobject obj, jint stat JNIEXPORT jstring JNICALL Java_org_kde_koala_KProcess_quote(JNIEnv* env, jclass cls, jstring arg) { - QString _qstring; + TQString _qstring; (void) cls; -static QString* _qstring_arg = 0; - _qstring = KProcessJBridge::quote((const QString&)*(QString*) QtSupport::toQString(env, arg, &_qstring_arg)); +static TQString* _qstring_arg = 0; + _qstring = KProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toQString(env, arg, &_qstring_arg)); return QtSupport::fromQString(env, &_qstring); } @@ -362,7 +362,7 @@ Java_org_kde_koala_KProcess_runPrivileged(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename) { -static QCString* _qstring_filename = 0; +static TQCString* _qstring_filename = 0; ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename)); return; } @@ -370,9 +370,9 @@ static QCString* _qstring_filename = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring value) { -static QString* _qstring_name = 0; -static QString* _qstring_value = 0; - ((KProcess*) QtSupport::getQt(env, obj))->setEnvironment((const QString&)*(QString*) QtSupport::toQString(env, name, &_qstring_name), (const QString&)*(QString*) QtSupport::toQString(env, value, &_qstring_value)); +static TQString* _qstring_name = 0; +static TQString* _qstring_value = 0; + ((KProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TQString&)*(TQString*) QtSupport::toQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toQString(env, value, &_qstring_value)); return; } @@ -400,7 +400,7 @@ Java_org_kde_koala_KProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean us JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell) { -static QCString* _qstring_shell = 0; +static TQCString* _qstring_shell = 0; ((KProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell)); return; } @@ -408,8 +408,8 @@ static QCString* _qstring_shell = 0; JNIEXPORT void JNICALL Java_org_kde_koala_KProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir) { -static QString* _qstring_dir = 0; - ((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const QString&)*(QString*) QtSupport::toQString(env, dir, &_qstring_dir)); +static TQString* _qstring_dir = 0; + ((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir)); return; } @@ -500,7 +500,7 @@ Java_org_kde_koala_KProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen) { -static QCString* _qstring_buffer = 0; +static TQCString* _qstring_buffer = 0; jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen); return xret; } |