diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:51:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:51:01 -0600 |
commit | b9e542d0c805e9adee3a67e44532d5321032e21e (patch) | |
tree | e82d85b9035cc2ca322911e8a6e38a3bd8b1d431 /lib/widgets/processwidget.cpp | |
parent | 7a392a04059bd904dab4c78910a6d34aa0b37798 (diff) | |
download | tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.tar.gz tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'lib/widgets/processwidget.cpp')
-rw-r--r-- | lib/widgets/processwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/widgets/processwidget.cpp b/lib/widgets/processwidget.cpp index f28e4ec7..1f2e1a5e 100644 --- a/lib/widgets/processwidget.cpp +++ b/lib/widgets/processwidget.cpp @@ -112,7 +112,7 @@ ProcessWidget::ProcessWidget(TQWidget *parent, const char *name) // the background ourselves (see ProcessListBoxItem::paint). - childproc = new KProcess(); + childproc = new TDEProcess(); childproc->setUseShell(true); procLineMaker = new ProcessLineMaker( childproc ); @@ -126,8 +126,8 @@ ProcessWidget::ProcessWidget(TQWidget *parent, const char *name) connect( procLineMaker, TQT_SIGNAL(receivedPartialStderrLine(const TQCString&)), this, TQT_SLOT(addPartialStderrLine(const TQCString&) )); - connect(childproc, TQT_SIGNAL(processExited(KProcess*)), - this, TQT_SLOT(slotProcessExited(KProcess*) )) ; + connect(childproc, TQT_SIGNAL(processExited(TDEProcess*)), + this, TQT_SLOT(slotProcessExited(TDEProcess*) )) ; } @@ -151,7 +151,7 @@ void ProcessWidget::startJob(const TQString &dir, const TQString &command) } *childproc << command; - childproc->start(KProcess::OwnGroup, KProcess::AllOutput); + childproc->start(TDEProcess::OwnGroup, TDEProcess::AllOutput); } @@ -169,7 +169,7 @@ bool ProcessWidget::isRunning() } -void ProcessWidget::slotProcessExited(KProcess *) +void ProcessWidget::slotProcessExited(TDEProcess *) { procLineMaker->flush(); if( !stdoutbuf.isEmpty() ) |