summaryrefslogtreecommitdiffstats
path: root/ktimer
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
parent95d05392f9bc01594738a1e06ebf23123b3d3e6e (diff)
downloadtdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.tar.gz
tdeutils-aef5eada7f51ee48f3d21448db290bd8f06953a8.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'ktimer')
-rw-r--r--ktimer/ktimer.cpp10
-rw-r--r--ktimer/ktimer.h2
2 files changed, 6 insertions, 6 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 );
diff --git a/ktimer/ktimer.h b/ktimer/ktimer.h
index bdb1d00..0a646fb 100644
--- a/ktimer/ktimer.h
+++ b/ktimer/ktimer.h
@@ -81,7 +81,7 @@ class KTimerJob : public TQObject {
private slots:
void timeout();
- void processExited(KProcess *proc);
+ void processExited(TDEProcess *proc);
private:
struct KTimerJobPrivate *d;