summaryrefslogtreecommitdiffstats
path: root/lib/kpilotlink.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 00:37:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-01 00:37:32 +0000
commitf6f9c296c3f9d39a8c3d0ee64a542a47f450be28 (patch)
treed38fce8091ce66977004a5cb115768c7810aee30 /lib/kpilotlink.cc
parente340db64991a06761aa6395ffe760b53e4c1dfbc (diff)
downloadkpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.tar.gz
kpilot-f6f9c296c3f9d39a8c3d0ee64a542a47f450be28.zip
TQt4 port kpilot
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1238903 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kpilotlink.cc')
-rw-r--r--lib/kpilotlink.cc12
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;
}