summaryrefslogtreecommitdiffstats
path: root/lib/kpilotdevicelinkPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kpilotdevicelinkPrivate.h')
-rw-r--r--lib/kpilotdevicelinkPrivate.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/kpilotdevicelinkPrivate.h b/lib/kpilotdevicelinkPrivate.h
index 518f019..b0967ba 100644
--- a/lib/kpilotdevicelinkPrivate.h
+++ b/lib/kpilotdevicelinkPrivate.h
@@ -109,8 +109,8 @@ private:
class Messages
{
public:
- Messages(KPilotDeviceLink *parent) :
- fDeviceLink(parent)
+ Messages(KPilotDeviceLink *tqparent) :
+ fDeviceLink(tqparent)
{
reset();
}
@@ -170,10 +170,10 @@ protected:
KPilotDeviceLink *fDeviceLink;
};
-class DeviceCommEvent : public QEvent
+class DeviceCommEvent : public TQEvent
{
public:
- DeviceCommEvent(DeviceCustomEvents type, TQString msg = TQString::null,
+ DeviceCommEvent(DeviceCustomEvents type, TQString msg = TQString(),
int progress = 0) :
TQEvent( (TQEvent::Type)type ), fMessage(msg), fProgress(progress),
fPilotSocket(-1)
@@ -207,15 +207,16 @@ private:
};
/** Class that handles all device communications. We do this
- in a different thread so that we do not block the main Qt
+ in a different thread so that we do not block the main TQt
Event thread (similar to Swing's AWT event dispatch thread).
*/
-class DeviceCommThread : public TQObject, public QThread
+class DeviceCommThread : public TQObject, public TQThread
{
friend class KPilotDeviceLink;
Q_OBJECT
+ TQ_OBJECT
public:
DeviceCommThread(KPilotDeviceLink *d);
@@ -239,7 +240,7 @@ protected:
* Does the low-level opening of the device and handles the
* pilot-link library initialisation.
*/
- bool open(const TQString &device = TQString::null);
+ bool open(const TQString &device = TQString());
protected slots:
/**