summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectnewweb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectnewweb.cpp')
-rw-r--r--quanta/project/projectnewweb.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/quanta/project/projectnewweb.cpp b/quanta/project/projectnewweb.cpp
index a087497c..31d3f620 100644
--- a/quanta/project/projectnewweb.cpp
+++ b/quanta/project/projectnewweb.cpp
@@ -105,7 +105,7 @@ void ProjectNewWeb::slotStart()
{
chdir( baseURL.path(1).ascii() );
- proc = new KProcess();
+ proc = new TDEProcess();
proc ->clearArguments();
TQStringList list = TQStringList::split (" ", commandLine->text());
@@ -115,14 +115,14 @@ void ProjectNewWeb::slotStart()
*proc << *it;
}
- connect( proc, TQT_SIGNAL(receivedStdout( KProcess*,char*,int)), this,
- TQT_SLOT( slotGetWgetOutput(KProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(receivedStderr( KProcess*,char*,int)), this,
- TQT_SLOT( slotGetWgetOutput(KProcess*,char*,int)));
- connect( proc, TQT_SIGNAL(processExited( KProcess *)), this,
- TQT_SLOT( slotGetWgetExited(KProcess *)));
+ connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*,char*,int)), this,
+ TQT_SLOT( slotGetWgetOutput(TDEProcess*,char*,int)));
+ connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*,char*,int)), this,
+ TQT_SLOT( slotGetWgetOutput(TDEProcess*,char*,int)));
+ connect( proc, TQT_SIGNAL(processExited( TDEProcess *)), this,
+ TQT_SLOT( slotGetWgetExited(TDEProcess *)));
- if (proc->start(KProcess::NotifyOnExit, KProcess::AllOutput))
+ if (proc->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput))
{
start = true;
button->setText( i18n("Stop") );
@@ -159,7 +159,7 @@ void ProjectNewWeb::slotStart()
}
}
-void ProjectNewWeb::slotGetWgetExited(KProcess*)
+void ProjectNewWeb::slotGetWgetExited(TDEProcess*)
{
KLed2->setState(KLed::Off);
KLed1->setState(KLed::Off);
@@ -169,7 +169,7 @@ void ProjectNewWeb::slotGetWgetExited(KProcess*)
emit enableNextButton((TQWidget *)this->parent(),true);
}
-void ProjectNewWeb::slotGetWgetOutput(KProcess *, char *buffer, int buflen)
+void ProjectNewWeb::slotGetWgetOutput(TDEProcess *, char *buffer, int buflen)
{
TQString output = buffer;
output = output.left( buflen );