summaryrefslogtreecommitdiffstats
path: root/khtml/java
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/java')
-rw-r--r--khtml/java/kjavaprocess.cpp20
-rw-r--r--khtml/java/kjavaprocess.h8
2 files changed, 14 insertions, 14 deletions
diff --git a/khtml/java/kjavaprocess.cpp b/khtml/java/kjavaprocess.cpp
index 48eb7b764..dbe80305e 100644
--- a/khtml/java/kjavaprocess.cpp
+++ b/khtml/java/kjavaprocess.cpp
@@ -46,20 +46,20 @@ private:
bool processKilled;
};
-KJavaProcess::KJavaProcess() : KProcess()
+KJavaProcess::KJavaProcess() : TDEProcess()
{
d = new KJavaProcessPrivate;
d->BufferList.setAutoDelete( true );
d->processKilled = false;
- javaProcess = this; //new KProcess();
+ javaProcess = this; //new TDEProcess();
- connect( javaProcess, TQT_SIGNAL( wroteStdin( KProcess * ) ),
+ connect( javaProcess, TQT_SIGNAL( wroteStdin( TDEProcess * ) ),
this, TQT_SLOT( slotWroteData() ) );
connect( javaProcess, TQT_SIGNAL( receivedStdout( int, int& ) ),
this, TQT_SLOT( slotReceivedData(int, int&) ) );
- connect( javaProcess, TQT_SIGNAL( processExited (KProcess *) ),
- this, TQT_SLOT( slotExited (KProcess *) ) );
+ connect( javaProcess, TQT_SIGNAL( processExited (TDEProcess *) ),
+ this, TQT_SLOT( slotExited (TDEProcess *) ) );
d->jvmPath = "java";
d->mainClass = "-help";
@@ -303,11 +303,11 @@ bool KJavaProcess::invokeJVM()
tqCopy( args.begin(), args.end(), TQTextOStreamIterator<TQCString>( stream, " " ) );
kdDebug(6100) << argStr << endl;
- KProcess::Communication flags = (KProcess::Communication)
- (KProcess::Stdin | KProcess::Stdout |
- KProcess::NoRead);
+ TDEProcess::Communication flags = (TDEProcess::Communication)
+ (TDEProcess::Stdin | TDEProcess::Stdout |
+ TDEProcess::NoRead);
- const bool rval = javaProcess->start( KProcess::NotifyOnExit, flags );
+ const bool rval = javaProcess->start( TDEProcess::NotifyOnExit, flags );
if( rval )
javaProcess->resume(); //start processing stdout on the java process
else
@@ -382,7 +382,7 @@ void KJavaProcess::slotReceivedData( int fd, int& len )
len = num_bytes + num_bytes_msg;
}
-void KJavaProcess::slotExited( KProcess *process )
+void KJavaProcess::slotExited( TDEProcess *process )
{
if (process == javaProcess) {
int status = -1;
diff --git a/khtml/java/kjavaprocess.h b/khtml/java/kjavaprocess.h
index 280701233..4768bc382 100644
--- a/khtml/java/kjavaprocess.h
+++ b/khtml/java/kjavaprocess.h
@@ -39,7 +39,7 @@
*/
class KJavaProcessPrivate;
-class KJavaProcess : public KProcess //QObject
+class KJavaProcess : public TDEProcess //QObject
{
Q_OBJECT
@@ -64,7 +64,7 @@ public:
/**
* Returns the status of the java Process- true if it's ok, false if it has died.
- * It calls KProcess::isRunning()
+ * It calls TDEProcess::isRunning()
*/
bool isRunning();
@@ -139,7 +139,7 @@ protected slots:
/**
* This slot is called when the Java Process exited.
*/
- void slotExited( KProcess *process );
+ void slotExited( TDEProcess *process );
protected:
virtual bool invokeJVM();
@@ -150,7 +150,7 @@ protected:
void sendBuffer( TQByteArray* buff );
void storeSize( TQByteArray* buff );
- KProcess* javaProcess;
+ TDEProcess* javaProcess;
signals:
void received( const TQByteArray& );