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.cpp260
1 files changed, 130 insertions, 130 deletions
diff --git a/kdejava/koala/kdejava/KProcess.cpp b/kdejava/koala/kdejava/KProcess.cpp
index 9ddcb466..e1b61243 100644
--- a/kdejava/koala/kdejava/KProcess.cpp
+++ b/kdejava/koala/kdejava/KProcess.cpp
@@ -6,58 +6,58 @@
#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
-#include <kdejava/KProcess.h>
+#include <kdejava/TDEProcess.h>
-class KProcessJBridge : public KProcess
+class TDEProcessJBridge : public TDEProcess
{
public:
- KProcessJBridge(TQObject* arg1,const char* arg2) : KProcess(arg1,arg2) {};
- KProcessJBridge(TQObject* arg1) : KProcess(arg1) {};
- KProcessJBridge() : KProcess() {};
+ TDEProcessJBridge(TQObject* arg1,const char* arg2) : TDEProcess(arg1,arg2) {};
+ TDEProcessJBridge(TQObject* arg1) : TDEProcess(arg1) {};
+ TDEProcessJBridge() : TDEProcess() {};
void protected_setupEnvironment() {
- KProcess::setupEnvironment();
+ TDEProcess::setupEnvironment();
return;
}
- int protected_setupCommunication(KProcess::Communication arg1) {
- return (int) KProcess::setupCommunication(arg1);
+ int protected_setupCommunication(TDEProcess::Communication arg1) {
+ return (int) TDEProcess::setupCommunication(arg1);
}
int protected_commSetupDoneP() {
- return (int) KProcess::commSetupDoneP();
+ return (int) TDEProcess::commSetupDoneP();
}
int protected_commSetupDoneC() {
- return (int) KProcess::commSetupDoneC();
+ return (int) TDEProcess::commSetupDoneC();
}
void protected_processHasExited(int arg1) {
- KProcess::processHasExited(arg1);
+ TDEProcess::processHasExited(arg1);
return;
}
void protected_commClose() {
- KProcess::commClose();
+ TDEProcess::commClose();
return;
}
void protected_setBinaryExecutable(const char* arg1) {
- KProcess::setBinaryExecutable(arg1);
+ TDEProcess::setBinaryExecutable(arg1);
return;
}
int protected_childOutput(int arg1) {
- return (int) KProcess::childOutput(arg1);
+ return (int) TDEProcess::childOutput(arg1);
}
int protected_childError(int arg1) {
- return (int) KProcess::childError(arg1);
+ return (int) TDEProcess::childError(arg1);
}
void protected_slotChildOutput(int arg1) {
- KProcess::slotChildOutput(arg1);
+ TDEProcess::slotChildOutput(arg1);
return;
}
void protected_slotChildError(int arg1) {
- KProcess::slotChildError(arg1);
+ TDEProcess::slotChildError(arg1);
return;
}
void protected_slotSendData(int arg1) {
- KProcess::slotSendData(arg1);
+ TDEProcess::slotSendData(arg1);
return;
}
- ~KProcessJBridge() {QtSupport::qtKeyDeleted(this);}
+ ~TDEProcessJBridge() {QtSupport::qtKeyDeleted(this);}
void removeChild(TQObject* arg1) {
if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
TQObject::removeChild(arg1);
@@ -89,13 +89,13 @@ public:
return;
}
void commClose() {
- if (!QtSupport::voidDelegate(this,"org.kde.koala.KProcess","commClose")) {
- KProcess::commClose();
+ if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEProcess","commClose")) {
+ TDEProcess::commClose();
}
return;
}
bool eventFilter(TQObject* object,TQEvent* event) {
- if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProcess",object,event)) {
+ if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEProcess",object,event)) {
return TQObject::eventFilter(object,event);
} else {
return TRUE;
@@ -104,404 +104,404 @@ public:
};
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_childError(JNIEnv* env, jobject obj, jint fdno)
+Java_org_kde_koala_TDEProcess_childError(JNIEnv* env, jobject obj, jint fdno)
{
- jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_childError((int) fdno);
+ jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childError((int) fdno);
return xret;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_childOutput(JNIEnv* env, jobject obj, jint fdno)
+Java_org_kde_koala_TDEProcess_childOutput(JNIEnv* env, jobject obj, jint fdno)
{
- jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_childOutput((int) fdno);
+ jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childOutput((int) fdno);
return xret;
}
JNIEXPORT jstring JNICALL
-Java_org_kde_koala_KProcess_className(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_className(JNIEnv* env, jobject obj)
{
const char* _qstring;
- _qstring = ((KProcess*) QtSupport::getQt(env, obj))->className();
+ _qstring = ((TDEProcess*) QtSupport::getQt(env, obj))->className();
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_clearArguments(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_clearArguments(JNIEnv* env, jobject obj)
{
- ((KProcess*) QtSupport::getQt(env, obj))->clearArguments();
+ ((TDEProcess*) QtSupport::getQt(env, obj))->clearArguments();
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_closeAll(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_closeAll(JNIEnv* env, jobject obj)
{
- ((KProcess*) QtSupport::getQt(env, obj))->closeAll();
+ ((TDEProcess*) QtSupport::getQt(env, obj))->closeAll();
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_closePty(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_closePty(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closePty();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closePty();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_closeStderr(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_closeStderr(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closeStderr();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStderr();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_closeStdin(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_closeStdin(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closeStdin();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdin();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_closeStdout(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_closeStdout(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->closeStdout();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdout();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_commClose(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_commClose(JNIEnv* env, jobject obj)
{
- ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_commClose();
+ ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commClose();
return;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_commSetupDoneC(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_commSetupDoneC(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneC();
+ jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneC();
return xret;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_commSetupDoneP(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_commSetupDoneP(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneP();
+ jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneP();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_coreDumped(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_coreDumped(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->coreDumped();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->coreDumped();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_detach(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_detach(JNIEnv* env, jobject obj)
{
- ((KProcess*) QtSupport::getQt(env, obj))->detach();
+ ((TDEProcess*) QtSupport::getQt(env, obj))->detach();
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_dispose(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_dispose(JNIEnv* env, jobject obj)
{
- Java_org_kde_koala_KProcess_finalize(env, obj);
+ Java_org_kde_koala_TDEProcess_finalize(env, obj);
return;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_exitSignal(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_exitSignal(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((KProcess*) QtSupport::getQt(env, obj))->exitSignal();
+ jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitSignal();
return xret;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_exitStatus(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_exitStatus(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((KProcess*) QtSupport::getQt(env, obj))->exitStatus();
+ jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitStatus();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_finalize(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_finalize(JNIEnv* env, jobject obj)
{
- if (QtSupport::allocatedInJavaWorld(env, obj) && ((KProcess*)QtSupport::getQt(env, obj))->parent() == 0) {
- delete (KProcess*)QtSupport::getQt(env, obj);
+ if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEProcess*)QtSupport::getQt(env, obj))->parent() == 0) {
+ delete (TDEProcess*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_isDisposed(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_isRunning(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_isRunning(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->isRunning();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->isRunning();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_kill__(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_kill__(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->kill();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_kill__I(JNIEnv* env, jobject obj, jint signo)
+Java_org_kde_koala_TDEProcess_kill__I(JNIEnv* env, jobject obj, jint signo)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->kill((int) signo);
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill((int) signo);
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KProcess_metaObject(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_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*)((TDEProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject");
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_newKProcess__(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_newTDEProcess__(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new KProcessJBridge());
+ QtSupport::setQt(env, obj, new TDEProcessJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_newKProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent)
+Java_org_kde_koala_TDEProcess_newTDEProcess__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 TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
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)
+Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQCString* _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 TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_normalExit(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_normalExit(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->normalExit();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->normalExit();
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KProcess_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg)
+Java_org_kde_koala_TDEProcess_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::toTQString(env, arg, &_qstring_arg)), "org.kde.koala.KProcess");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)), "org.kde.koala.TDEProcess");
return xret;
}
JNIEXPORT jobject JNICALL
-Java_org_kde_koala_KProcess_op_1write___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args)
+Java_org_kde_koala_TDEProcess_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::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.KProcess");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDEProcess");
return xret;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_pid(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_pid(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((KProcess*) QtSupport::getQt(env, obj))->pid();
+ jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->pid();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_processHasExited(JNIEnv* env, jobject obj, jint state)
+Java_org_kde_koala_TDEProcess_processHasExited(JNIEnv* env, jobject obj, jint state)
{
- ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_processHasExited((int) state);
+ ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_processHasExited((int) state);
return;
}
JNIEXPORT jstring JNICALL
-Java_org_kde_koala_KProcess_quote(JNIEnv* env, jclass cls, jstring arg)
+Java_org_kde_koala_TDEProcess_quote(JNIEnv* env, jclass cls, jstring arg)
{
TQString _qstring;
(void) cls;
static TQString* _qstring_arg = 0;
- _qstring = KProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
+ _qstring = TDEProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_resume(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_resume(JNIEnv* env, jobject obj)
{
- ((KProcess*) QtSupport::getQt(env, obj))->resume();
+ ((TDEProcess*) QtSupport::getQt(env, obj))->resume();
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_runPrivileged(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_runPrivileged(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->runPrivileged();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->runPrivileged();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename)
+Java_org_kde_koala_TDEProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename)
{
static TQCString* _qstring_filename = 0;
- ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename));
+ ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename));
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring value)
+Java_org_kde_koala_TDEProcess_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::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
+ ((TDEProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value));
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_setPriority(JNIEnv* env, jobject obj, jint prio)
+Java_org_kde_koala_TDEProcess_setPriority(JNIEnv* env, jobject obj, jint prio)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->setPriority((int) prio);
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->setPriority((int) prio);
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_setRunPrivileged(JNIEnv* env, jobject obj, jboolean keepPrivileges)
+Java_org_kde_koala_TDEProcess_setRunPrivileged(JNIEnv* env, jobject obj, jboolean keepPrivileges)
{
- ((KProcess*) QtSupport::getQt(env, obj))->setRunPrivileged((bool) keepPrivileges);
+ ((TDEProcess*) QtSupport::getQt(env, obj))->setRunPrivileged((bool) keepPrivileges);
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean useShell)
+Java_org_kde_koala_TDEProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean useShell)
{
- ((KProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell);
+ ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell);
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell)
+Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell)
{
static TQCString* _qstring_shell = 0;
- ((KProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell));
+ ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell));
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir)
+Java_org_kde_koala_TDEProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir)
{
static TQString* _qstring_dir = 0;
- ((KProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
+ ((TDEProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
return;
}
JNIEXPORT jint JNICALL
-Java_org_kde_koala_KProcess_setupCommunication(JNIEnv* env, jobject obj, jint comm)
+Java_org_kde_koala_TDEProcess_setupCommunication(JNIEnv* env, jobject obj, jint comm)
{
- jint xret = (jint) ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupCommunication((KProcess::Communication) comm);
+ jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupCommunication((TDEProcess::Communication) comm);
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_setupEnvironment(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_setupEnvironment(JNIEnv* env, jobject obj)
{
- ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupEnvironment();
+ ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupEnvironment();
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_signalled(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_signalled(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->signalled();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->signalled();
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_slotChildError(JNIEnv* env, jobject obj, jint fdno)
+Java_org_kde_koala_TDEProcess_slotChildError(JNIEnv* env, jobject obj, jint fdno)
{
- ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildError((int) fdno);
+ ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildError((int) fdno);
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_slotChildOutput(JNIEnv* env, jobject obj, jint fdno)
+Java_org_kde_koala_TDEProcess_slotChildOutput(JNIEnv* env, jobject obj, jint fdno)
{
- ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildOutput((int) fdno);
+ ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildOutput((int) fdno);
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_slotSendData(JNIEnv* env, jobject obj, jint dummy)
+Java_org_kde_koala_TDEProcess_slotSendData(JNIEnv* env, jobject obj, jint dummy)
{
- ((KProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotSendData((int) dummy);
+ ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotSendData((int) dummy);
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_start__(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_start__(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->start();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_start__I(JNIEnv* env, jobject obj, jint runmode)
+Java_org_kde_koala_TDEProcess_start__I(JNIEnv* env, jobject obj, jint runmode)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode);
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode);
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm)
+Java_org_kde_koala_TDEProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->start((KProcess::RunMode) runmode, (KProcess::Communication) comm);
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (TDEProcess::Communication) comm);
return xret;
}
JNIEXPORT void JNICALL
-Java_org_kde_koala_KProcess_suspend(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_suspend(JNIEnv* env, jobject obj)
{
- ((KProcess*) QtSupport::getQt(env, obj))->suspend();
+ ((TDEProcess*) QtSupport::getQt(env, obj))->suspend();
return;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_waitThread__(JNIEnv* env, jobject obj)
+Java_org_kde_koala_TDEProcess_waitThread__(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->wait();
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait();
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout)
+Java_org_kde_koala_TDEProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout)
{
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->wait((int) timeout);
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait((int) timeout);
return xret;
}
JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_KProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen)
+Java_org_kde_koala_TDEProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen)
{
static TQCString* _qstring_buffer = 0;
- jboolean xret = (jboolean) ((KProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
+ jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
return xret;
}