diff options
Diffstat (limited to 'lib/kpilotlink.cc')
-rw-r--r-- | lib/kpilotlink.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kpilotlink.cc b/lib/kpilotlink.cc index da85d48..9ba4288 100644 --- a/lib/kpilotlink.cc +++ b/lib/kpilotlink.cc @@ -70,7 +70,7 @@ * the virtual tickle() method; deals with cancels through the * shared fDone variable. */ -class TickleThread : public QThread +class TickleThread : public TQThread { public: TickleThread(KPilotLink *d, bool *done, int timeout) : @@ -137,9 +137,9 @@ void TickleThread::run() -KPilotLink::KPilotLink( TQObject *parent, const char *name ) : - TQObject( parent, name ), - fPilotPath(TQString::null), +KPilotLink::KPilotLink( TQObject *tqparent, const char *name ) : + TQObject( tqparent, name ), + fPilotPath(TQString()), fPilotUser(0L), fPilotSysInfo(0L), fTickleDone(true), @@ -229,14 +229,14 @@ unsigned int KPilotLink::installFiles(const TQStringList & l, const bool deleteF for (i = l.begin(), e = l.end(); i != e; ++i) { - emit logProgress(TQString::null, + emit logProgress(TQString(), (int) ((100.0 / total) * (float) n)); if (installFile(*i, deleteFiles)) k++; n++; } - emit logProgress(TQString::null, 100); + emit logProgress(TQString(), 100); return k; } |