From 29df04c24350cc76a41e2410d1c92445f9338b98 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:51:30 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- quanta/project/projectnewweb.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'quanta/project/projectnewweb.cpp') 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 ); -- cgit v1.2.1