summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/kdejava/TDEProcess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/kdejava/TDEProcess.cpp')
-rw-r--r--kdejava/koala/kdejava/TDEProcess.cpp507
1 files changed, 0 insertions, 507 deletions
diff --git a/kdejava/koala/kdejava/TDEProcess.cpp b/kdejava/koala/kdejava/TDEProcess.cpp
deleted file mode 100644
index e1b61243..00000000
--- a/kdejava/koala/kdejava/TDEProcess.cpp
+++ /dev/null
@@ -1,507 +0,0 @@
-//Auto-generated by kalyptus. DO NOT EDIT.
-#include <kprocess.h>
-#include <tqstring.h>
-#include <tqstringlist.h>
-#include <tqcstring.h>
-
-#include <qtjava/QtSupport.h>
-#include <kdejava/KDESupport.h>
-#include <kdejava/TDEProcess.h>
-
-class TDEProcessJBridge : public TDEProcess
-{
-public:
- TDEProcessJBridge(TQObject* arg1,const char* arg2) : TDEProcess(arg1,arg2) {};
- TDEProcessJBridge(TQObject* arg1) : TDEProcess(arg1) {};
- TDEProcessJBridge() : TDEProcess() {};
- void protected_setupEnvironment() {
- TDEProcess::setupEnvironment();
- return;
- }
- int protected_setupCommunication(TDEProcess::Communication arg1) {
- return (int) TDEProcess::setupCommunication(arg1);
- }
- int protected_commSetupDoneP() {
- return (int) TDEProcess::commSetupDoneP();
- }
- int protected_commSetupDoneC() {
- return (int) TDEProcess::commSetupDoneC();
- }
- void protected_processHasExited(int arg1) {
- TDEProcess::processHasExited(arg1);
- return;
- }
- void protected_commClose() {
- TDEProcess::commClose();
- return;
- }
- void protected_setBinaryExecutable(const char* arg1) {
- TDEProcess::setBinaryExecutable(arg1);
- return;
- }
- int protected_childOutput(int arg1) {
- return (int) TDEProcess::childOutput(arg1);
- }
- int protected_childError(int arg1) {
- return (int) TDEProcess::childError(arg1);
- }
- void protected_slotChildOutput(int arg1) {
- TDEProcess::slotChildOutput(arg1);
- return;
- }
- void protected_slotChildError(int arg1) {
- TDEProcess::slotChildError(arg1);
- return;
- }
- void protected_slotSendData(int arg1) {
- TDEProcess::slotSendData(arg1);
- return;
- }
- ~TDEProcessJBridge() {QtSupport::qtKeyDeleted(this);}
- void removeChild(TQObject* arg1) {
- if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) {
- TQObject::removeChild(arg1);
- }
- return;
- }
- void customEvent(TQCustomEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) {
- TQObject::customEvent(arg1);
- }
- return;
- }
- void timerEvent(TQTimerEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) {
- TQObject::timerEvent(arg1);
- }
- return;
- }
- void childEvent(TQChildEvent* arg1) {
- if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) {
- TQObject::childEvent(arg1);
- }
- return;
- }
- void insertChild(TQObject* arg1) {
- if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) {
- TQObject::insertChild(arg1);
- }
- return;
- }
- void 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.TDEProcess",object,event)) {
- return TQObject::eventFilter(object,event);
- } else {
- return TRUE;
- }
- }
-};
-
-JNIEXPORT jint JNICALL
-Java_org_kde_koala_TDEProcess_childError(JNIEnv* env, jobject obj, jint fdno)
-{
- jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childError((int) fdno);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_koala_TDEProcess_childOutput(JNIEnv* env, jobject obj, jint fdno)
-{
- jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childOutput((int) fdno);
- return xret;
-}
-
-JNIEXPORT jstring JNICALL
-Java_org_kde_koala_TDEProcess_className(JNIEnv* env, jobject obj)
-{
- const char* _qstring;
- _qstring = ((TDEProcess*) QtSupport::getQt(env, obj))->className();
- return QtSupport::fromCharString(env, (char *) _qstring);
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_clearArguments(JNIEnv* env, jobject obj)
-{
- ((TDEProcess*) QtSupport::getQt(env, obj))->clearArguments();
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_closeAll(JNIEnv* env, jobject obj)
-{
- ((TDEProcess*) QtSupport::getQt(env, obj))->closeAll();
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_closePty(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closePty();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_closeStderr(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStderr();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_closeStdin(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdin();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_closeStdout(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdout();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_commClose(JNIEnv* env, jobject obj)
-{
- ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commClose();
- return;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_koala_TDEProcess_commSetupDoneC(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneC();
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_koala_TDEProcess_commSetupDoneP(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneP();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_coreDumped(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->coreDumped();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_detach(JNIEnv* env, jobject obj)
-{
- ((TDEProcess*) QtSupport::getQt(env, obj))->detach();
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_dispose(JNIEnv* env, jobject obj)
-{
- Java_org_kde_koala_TDEProcess_finalize(env, obj);
- return;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_koala_TDEProcess_exitSignal(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitSignal();
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_koala_TDEProcess_exitStatus(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitStatus();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_finalize(JNIEnv* env, jobject 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_TDEProcess_isDisposed(JNIEnv* env, jobject obj)
-{
- return (QtSupport::getQt(env, obj) == 0);
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_isRunning(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->isRunning();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_kill__(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_kill__I(JNIEnv* env, jobject obj, jint signo)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill((int) signo);
- return xret;
-}
-
-JNIEXPORT jobject JNICALL
-Java_org_kde_koala_TDEProcess_metaObject(JNIEnv* env, jobject obj)
-{
- 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_TDEProcess_newTDEProcess__(JNIEnv* env, jobject obj)
-{
- if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TDEProcessJBridge());
- QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
- }
- return;
-}
-
-JNIEXPORT void JNICALL
-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 TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent)));
- QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
- }
- return;
-}
-
-JNIEXPORT void JNICALL
-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 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_TDEProcess_normalExit(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->normalExit();
- return xret;
-}
-
-JNIEXPORT jobject JNICALL
-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*)(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_TDEProcess_op_1write___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args)
-{
-static TQStringList* _qlist_args = 0;
- 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_TDEProcess_pid(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->pid();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_processHasExited(JNIEnv* env, jobject obj, jint state)
-{
- ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_processHasExited((int) state);
- return;
-}
-
-JNIEXPORT jstring JNICALL
-Java_org_kde_koala_TDEProcess_quote(JNIEnv* env, jclass cls, jstring arg)
-{
- TQString _qstring;
- (void) cls;
-static TQString* _qstring_arg = 0;
- _qstring = TDEProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg));
- return QtSupport::fromTQString(env, &_qstring);
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_resume(JNIEnv* env, jobject obj)
-{
- ((TDEProcess*) QtSupport::getQt(env, obj))->resume();
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_runPrivileged(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->runPrivileged();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename)
-{
-static TQCString* _qstring_filename = 0;
- ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring value)
-{
-static TQString* _qstring_name = 0;
-static TQString* _qstring_value = 0;
- ((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_TDEProcess_setPriority(JNIEnv* env, jobject obj, jint prio)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->setPriority((int) prio);
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_setRunPrivileged(JNIEnv* env, jobject obj, jboolean keepPrivileges)
-{
- ((TDEProcess*) QtSupport::getQt(env, obj))->setRunPrivileged((bool) keepPrivileges);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean useShell)
-{
- ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell)
-{
-static TQCString* _qstring_shell = 0;
- ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir)
-{
-static TQString* _qstring_dir = 0;
- ((TDEProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir));
- return;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_koala_TDEProcess_setupCommunication(JNIEnv* env, jobject obj, jint comm)
-{
- jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupCommunication((TDEProcess::Communication) comm);
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_setupEnvironment(JNIEnv* env, jobject obj)
-{
- ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupEnvironment();
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_signalled(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->signalled();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_slotChildError(JNIEnv* env, jobject obj, jint fdno)
-{
- ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildError((int) fdno);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_slotChildOutput(JNIEnv* env, jobject obj, jint fdno)
-{
- ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildOutput((int) fdno);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_koala_TDEProcess_slotSendData(JNIEnv* env, jobject obj, jint dummy)
-{
- ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotSendData((int) dummy);
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_start__(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_start__I(JNIEnv* env, jobject obj, jint runmode)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode);
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint 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_TDEProcess_suspend(JNIEnv* env, jobject obj)
-{
- ((TDEProcess*) QtSupport::getQt(env, obj))->suspend();
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_waitThread__(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout)
-{
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait((int) timeout);
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_koala_TDEProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen)
-{
-static TQCString* _qstring_buffer = 0;
- jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen);
- return xret;
-}
-