summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KProcess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/KProcess.cpp')
-rw-r--r--kdejava/koala/kdejava/KProcess.cpp78
1 files changed, 39 insertions, 39 deletions
diff --git a/kdejava/koala/kdejava/KProcess.cpp b/kdejava/koala/kdejava/KProcess.cpp
index 010b504a..47e51411 100644
--- a/kdejava/koala/kdejava/KProcess.cpp
+++ b/kdejava/koala/kdejava/KProcess.cpp
@@ -11,8 +11,8 @@
class KProcessJBridge : public KProcess
{
public:
- KProcessJBridge(TQObject* arg1,const char* arg2) : KProcess(arg1,arg2) {};
- KProcessJBridge(TQObject* arg1) : KProcess(arg1) {};
+ KProcessJBridge(TTQObject* arg1,const char* arg2) : KProcess(arg1,arg2) {};
+ KProcessJBridge(TTQObject* arg1) : KProcess(arg1) {};
KProcessJBridge() : KProcess() {};
void protected_setupEnvironment() {
KProcess::setupEnvironment();
@@ -58,33 +58,33 @@ public:
return;
}
~KProcessJBridge() {QtSupport::qtKeyDeleted(this);}
- 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;
}
- 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;
}
@@ -94,9 +94,9 @@ public:
}
return;
}
- bool eventFilter(TQObject* object,TQEvent* event) {
+ bool eventFilter(TTQObject* object,TTQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProcess",object,event)) {
- return TQObject::eventFilter(object,event);
+ return TTQObject::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.TQMetaObject");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TTQMetaObject");
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((TQObject*) QtSupport::getQt(env, parent)));
+ QtSupport::setQt(env, obj, new KProcessJBridge((TTQObject*) 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 TQCString* _qstring_name = 0;
+static TTQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
+ QtSupport::setQt(env, obj, new KProcessJBridge((TTQObject*) 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 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");
+static TTQString* _qstring_arg = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TTQString&)*(TTQString*) QtSupport::toTQString(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 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");
+static TTQStringList* _qlist_args = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TTQStringList&)*(TTQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.KProcess");
return xret;
}
@@ -338,11 +338,11 @@ 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)
{
- TQString _qstring;
+ TTQString _qstring;
(void) cls;
-static TQString* _qstring_arg = 0;
- _qstring = KProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toQString(env, arg, &_qstring_arg));
- return QtSupport::fromQString(env, &_qstring);
+static TTQString* _qstring_arg = 0;
+ _qstring = KProcessJBridge::quote((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
@@ -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 TQCString* _qstring_filename = 0;
+static TTQCString* _qstring_filename = 0;
((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename));
return;
}
@@ -370,9 +370,9 @@ static TQCString* _qstring_filename = 0;
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring 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));
+static TTQString* _qstring_name = 0;
+static TTQString* _qstring_value = 0;
+ ((KProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TTQString&)*(TTQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TTQString&)*(TTQString*) QtSupport::toTQString(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 TQCString* _qstring_shell = 0;
+static TTQCString* _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 TQCString* _qstring_shell = 0;
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir)
{
-static TQString* _qstring_dir = 0;
- ((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toQString(env, dir, &_qstring_dir));
+static TTQString* _qstring_dir = 0;
+ ((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TTQString&)*(TTQString*) QtSupport::toTQString(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 TQCString* _qstring_buffer = 0;
+static TTQCString* _qstring_buffer = 0;
jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
return xret;
}