summaryrefslogtreecommitdiffstats
path: root/kpilot/lib/kpilotdevicelink.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kpilot/lib/kpilotdevicelink.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpilot/lib/kpilotdevicelink.h')
-rw-r--r--kpilot/lib/kpilotdevicelink.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kpilot/lib/kpilotdevicelink.h b/kpilot/lib/kpilotdevicelink.h
index d2527aee4..2f29a5877 100644
--- a/kpilot/lib/kpilotdevicelink.h
+++ b/kpilot/lib/kpilotdevicelink.h
@@ -58,7 +58,7 @@ enum LinkStatus {
* Custom events we can be handling...
*/
enum DeviceCustomEvents {
- EventLogMessage = QEvent::User + 777,
+ EventLogMessage = TQEvent::User + 777,
EventLogError,
EventLogProgress,
EventDeviceReady
@@ -86,9 +86,9 @@ public:
* @param tempDevice Path to device node to use as an alternative
* to the "normal" one set by KPilot.
*/
- KPilotDeviceLink( QObject *parent = 0,
+ KPilotDeviceLink( TQObject *parent = 0,
const char *name = 0,
- const QString &tempDevice = QString::null );
+ const TQString &tempDevice = TQString::null );
/**
* Destructor. This rudely ends the communication with the handheld.
@@ -107,17 +107,17 @@ public:
}
/** Get a human-readable string for the given status @p l. */
- static QString statusString(LinkStatus l);
+ static TQString statusString(LinkStatus l);
// The following API is the actual implementation of
// the KPilotLink API, for documentation see that file.
//
- virtual QString statusString() const;
+ virtual TQString statusString() const;
virtual bool isConnected() const;
- virtual void reset( const QString & );
+ virtual void reset( const TQString & );
virtual void close();
virtual void reset();
- virtual bool event(QEvent *e);
+ virtual bool event(TQEvent *e);
virtual bool tickle();
virtual const KPilotCard *getCardInfo(int card);
virtual void endSync( EndOfSyncFlags f );
@@ -125,14 +125,14 @@ public:
virtual int getNextDatabase(int index,struct DBInfo *);
virtual int findDatabase(const char *name, struct DBInfo*,
int index=0, unsigned long type=0, unsigned long creator=0);
- virtual bool retrieveDatabase(const QString &path, struct DBInfo *db);
+ virtual bool retrieveDatabase(const TQString &path, struct DBInfo *db);
virtual DBInfoList getDBList(int cardno=0, int flags=dlpDBListRAM);
- virtual PilotDatabase *database( const QString &name );
+ virtual PilotDatabase *database( const TQString &name );
virtual PilotDatabase *database( const DBInfo *info );
protected:
- virtual bool installFile(const QString &, const bool deleteFile);
- virtual void addSyncLogEntryImpl( const QString &s );
+ virtual bool installFile(const TQString &, const bool deleteFile);
+ virtual void addSyncLogEntryImpl( const TQString &s );
virtual int pilotSocket() const
{
return fPilotSocket;
@@ -161,14 +161,14 @@ public:
* Useful for hotplug enviroments, this device is used @em once
* for accepting a connection.
*/
- void setTempDevice( const QString &device );
+ void setTempDevice( const TQString &device );
/**
* Sets the device to use. Used by probe dialog, since we know
* what device to use, but we don't want to start the detection
* immediately.
*/
- void setDevice( const QString &device )
+ void setDevice( const TQString &device )
{
fPilotPath = device;
}
@@ -191,13 +191,13 @@ protected:
* Path with resolved symlinks, to prevent double binding
* to the same device.
*/
- QString fRealPilotPath;
+ TQString fRealPilotPath;
/**
* Pilot-link library handles for the device once it's opened.
*/
int fPilotSocket;
- QString fTempDevice;
+ TQString fTempDevice;
/**
* Handle cases where we can't accept or open the device,