diff options
Diffstat (limited to 'sip/tdecore/kprocess.sip')
-rw-r--r-- | sip/tdecore/kprocess.sip | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sip/tdecore/kprocess.sip b/sip/tdecore/kprocess.sip index c701423..e60abd4 100644 --- a/sip/tdecore/kprocess.sip +++ b/sip/tdecore/kprocess.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KProcess : TQObject +class TDEProcess : TQObject { %TypeHeaderCode #include <kprocess.h> @@ -61,21 +61,21 @@ public: OwnGroup }; - KProcess (TQObject* /TransferThis/, const char* = 0); + TDEProcess (TQObject* /TransferThis/, const char* = 0); %End - KProcess (); + TDEProcess (); bool setExecutable (const TQString&); %If ( KDE_3_1_4 - ) - KProcess& operator << (const TQString&); - KProcess& operator << (const char*); - KProcess& operator << (const TQCString&); - KProcess& operator << (const TQStringList&); + TDEProcess& operator << (const TQString&); + TDEProcess& operator << (const char*); + TDEProcess& operator << (const TQCString&); + TDEProcess& operator << (const TQStringList&); %End void clearArguments (); - virtual bool start (KProcess::RunMode = NotifyOnExit , KProcess::Communication = NoCommunication ); + virtual bool start (TDEProcess::RunMode = NotifyOnExit , TDEProcess::Communication = NoCommunication ); virtual bool kill (int = SIGTERM ); bool isRunning () const; pid_t pid () const; @@ -141,11 +141,11 @@ public: signals: - void processExited (KProcess*); - void receivedStdout (KProcess*, char*, int); + void processExited (TDEProcess*); + void receivedStdout (TDEProcess*, char*, int); //ig void receivedStdout (int, int&); - void receivedStderr (KProcess*, char*, int); - void wroteStdin (KProcess*); + void receivedStderr (TDEProcess*, char*, int); + void wroteStdin (TDEProcess*); protected slots: void slotChildOutput (int); @@ -154,7 +154,7 @@ protected slots: protected: void setupEnvironment (); - virtual int setupCommunication (KProcess::Communication); + virtual int setupCommunication (TDEProcess::Communication); virtual int commSetupDoneP (); virtual int commSetupDoneC (); virtual void processHasExited (int); @@ -191,7 +191,7 @@ public: public: %If ( KDE_3_2_0 - KDE_3_4_0 ) - void setUsePty (KProcess::Communication, bool); + void setUsePty (TDEProcess::Communication, bool); KPty* pty () const; %End @@ -213,7 +213,7 @@ public: %If ( - KDE_3_2_0 ) private: - KProcess (const KProcess&); + TDEProcess (const TDEProcess&); %End @@ -224,7 +224,7 @@ public: //takes arglist | (a Python list of strings) //doc // setArguments is the PyKDE equivalent of the stream operator methods (<<) -// in KDE's KProcess class - provide with a list of strings representing +// in KDE's TDEProcess class - provide with a list of strings representing // the arguments to the executable program set with setExecutable (PyKDE // will continue to provide setExecutable even though it's deprecated in // KDE (to also be replaced with stream operators) @@ -243,10 +243,10 @@ public: //end -}; // class KProcess +}; // class TDEProcess -class KShellProcess : KProcess +class KShellProcess : TDEProcess { %TypeHeaderCode #include <kprocess.h> |