From b9e542d0c805e9adee3a67e44532d5321032e21e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:51:01 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- lib/widgets/processwidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/widgets/processwidget.cpp') 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() ) -- cgit v1.2.3