summaryrefslogtreecommitdiffstats
path: root/ktimer/ktimer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:50:20 -0600
commitaef5eada7f51ee48f3d21448db290bd8f06953a8 (patch)
tree9d6e7572ebcc27e402501d6966f9b46361a1702c /ktimer/ktimer.cpp
parent95d05392f9bc01594738a1e06ebf23123b3d3e6e (diff)
downloadtdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.tar.gz
tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'ktimer/ktimer.cpp')
-rw-r--r--ktimer/ktimer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ktimer/ktimer.cpp b/ktimer/ktimer.cpp
index 62d7460..cff3083 100644
--- a/ktimer/ktimer.cpp
+++ b/ktimer/ktimer.cpp
@@ -299,7 +299,7 @@ struct KTimerJobPrivate {
bool oneInstance;
unsigned value;
KTimerJob::States state;
- TQPtrList<KProcess> processes;
+ TQPtrList<TDEProcess> processes;
void *user;
TQTimer *timer;
@@ -487,7 +487,7 @@ void KTimerJob::timeout()
}
-void KTimerJob::processExited(KProcess *proc)
+void KTimerJob::processExited(TDEProcess *proc)
{
bool ok = proc->exitStatus()==0;
d->processes.remove( proc );
@@ -502,9 +502,9 @@ void KTimerJob::fire()
KShellProcess *proc = new KShellProcess;
(*proc) << d->command;
d->processes.append( proc );
- connect( proc, TQT_SIGNAL(processExited(KProcess*)),
- TQT_SLOT(processExited(KProcess*)) );
- bool ok = proc->start( KProcess::NotifyOnExit );
+ connect( proc, TQT_SIGNAL(processExited(TDEProcess*)),
+ TQT_SLOT(processExited(TDEProcess*)) );
+ bool ok = proc->start( TDEProcess::NotifyOnExit );
emit fired( this );
if( !ok ) {
d->processes.remove( proc );