summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/KProcess.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kdejava/koala/kdejava/KProcess.cpp
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kdejava/koala/kdejava/KProcess.cpp')
-rw-r--r--kdejava/koala/kdejava/KProcess.cpp76
1 files changed, 38 insertions, 38 deletions
diff --git a/kdejava/koala/kdejava/KProcess.cpp b/kdejava/koala/kdejava/KProcess.cpp
index 47e51411..9ddcb466 100644
--- a/kdejava/koala/kdejava/KProcess.cpp
+++ b/kdejava/koala/kdejava/KProcess.cpp
@@ -11,8 +11,8 @@
class KProcessJBridge : public KProcess
{
public:
- KProcessJBridge(TTQObject* arg1,const char* arg2) : KProcess(arg1,arg2) {};
- KProcessJBridge(TTQObject* 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(TTQObject* arg1) {
- if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TTQObject")) {
- TTQObject::removeChild(arg1);
+ void removeChild(TQObject* arg1) {
+ if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
+ TQObject::removeChild(arg1);
}
return;
}
- void customEvent(TTQCustomEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TTQCustomEvent")) {
- TTQObject::customEvent(arg1);
+ void customEvent(TQCustomEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
+ TQObject::customEvent(arg1);
}
return;
}
- void timerEvent(TTQTimerEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TTQTimerEvent")) {
- TTQObject::timerEvent(arg1);
+ void timerEvent(TQTimerEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
+ TQObject::timerEvent(arg1);
}
return;
}
- void childEvent(TTQChildEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TTQChildEvent")) {
- TTQObject::childEvent(arg1);
+ void childEvent(TQChildEvent* arg1) {
+ if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
+ TQObject::childEvent(arg1);
}
return;
}
- void insertChild(TTQObject* arg1) {
- if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TTQObject")) {
- TTQObject::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(TTQObject* object,TTQEvent* event) {
+ bool eventFilter(TQObject* object,TQEvent* event) {
if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProcess",object,event)) {
- return TTQObject::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.TTQMetaObject");
+ 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((TTQObject*) 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 TTQCString* _qstring_name = 0;
+static TQCString* _qstring_name = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KProcessJBridge((TTQObject*) 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 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");
+static TQString* _qstring_arg = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TQString&)*(TQString*) 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 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");
+static TQStringList* _qlist_args = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(KProcess *) &((KProcess*) QtSupport::getQt(env, obj))->operator<<((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(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)
{
- TTQString _qstring;
+ TQString _qstring;
(void) cls;
-static TTQString* _qstring_arg = 0;
- _qstring = KProcessJBridge::quote((const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
+static TQString* _qstring_arg = 0;
+ _qstring = KProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
return QtSupport::fromTQString(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 TTQCString* _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 TTQCString* _qstring_filename = 0;
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring 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));
+static TQString* _qstring_name = 0;
+static TQString* _qstring_value = 0;
+ ((KProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) 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 TTQCString* _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 TTQCString* _qstring_shell = 0;
JNIEXPORT void JNICALL
Java_org_kde_koala_KProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir)
{
-static TTQString* _qstring_dir = 0;
- ((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TTQString&)*(TTQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
+static TQString* _qstring_dir = 0;
+ ((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) 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 TTQCString* _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;
}