diff options
Diffstat (limited to 'kpilot/kpilot/pilotDaemon.h')
-rw-r--r-- | kpilot/kpilot/pilotDaemon.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kpilot/kpilot/pilotDaemon.h b/kpilot/kpilot/pilotDaemon.h index c7ccd7ed..d50fa04c 100644 --- a/kpilot/kpilot/pilotDaemon.h +++ b/kpilot/kpilot/pilotDaemon.h @@ -65,8 +65,8 @@ public: void enableRunKPilot(bool); - virtual void dragEnterEvent(QDragEnterEvent *); - virtual void dropEvent(QDropEvent *); + virtual void dragEnterEvent(TQDragEnterEvent *); + virtual void dropEvent(TQDropEvent *); protected: @@ -74,7 +74,7 @@ protected: /** * Menu of sync types. */ - QPopupMenu *fSyncTypeMenu; + TQPopupMenu *fSyncTypeMenu; protected slots: void slotShowAbout(); @@ -86,15 +86,15 @@ protected slots: // "Regular" QT actions // // - virtual void mousePressEvent(QMouseEvent* e); - virtual void closeEvent(QCloseEvent *e); + virtual void mousePressEvent(TQMouseEvent* e); + virtual void closeEvent(TQCloseEvent *e); protected: void startHotSync(); void endHotSync(); private: - QPixmap icons[((int) NotListening) + 1]; + TQPixmap icons[((int) NotListening) + 1]; IconShape fCurrentIcon; PilotDaemon *daemon; @@ -120,11 +120,11 @@ private: /** * Timer for blinking. */ - QTimer *fBlinkTimer; + TQTimer *fBlinkTimer; } ; -class PilotDaemon : public QObject, virtual public PilotDaemonDCOP +class PilotDaemon : public TQObject, virtual public PilotDaemonDCOP { Q_OBJECT @@ -148,8 +148,8 @@ public: }; DaemonStatus status() const { return fDaemonStatus; } ; - /* DCOP */ virtual QString statusString(); - /* DCOP */ virtual QString shortStatusString(); + /* DCOP */ virtual TQString statusString(); + /* DCOP */ virtual TQString shortStatusString(); /** * Display the daemon's system tray icon @@ -157,7 +157,7 @@ public: * setting in the config file) */ void showTray(); - virtual void addInstallFiles(const QStringList &); + virtual void addInstallFiles(const TQStringList &); // The next few functions are the DCOP interface. // Some are also slots. @@ -165,14 +165,14 @@ public: public slots: virtual ASYNC requestSync(int); public: - virtual ASYNC requestSyncType(QString); + virtual ASYNC requestSyncType(TQString); virtual ASYNC requestRegularSyncNext(); virtual int nextSyncType() const; virtual ASYNC requestSyncOptions(bool,bool); virtual ASYNC quitNow(); virtual ASYNC reloadSettings(); - virtual ASYNC setTempDevice(QString d); + virtual ASYNC setTempDevice(TQString d); virtual void stopListening(); virtual void startListening(); @@ -180,11 +180,11 @@ public: /** * Functions reporting same status data, e.g. for the kontact plugin. */ - virtual QDateTime lastSyncDate(); - virtual QStringList configuredConduitList(); - virtual QString logFileName(); - virtual QString userName(); - virtual QString pilotDevice(); + virtual TQDateTime lastSyncDate(); + virtual TQStringList configuredConduitList(); + virtual TQString logFileName(); + virtual TQString userName(); + virtual TQString pilotDevice(); virtual bool killDaemonOnExit(); protected: @@ -201,9 +201,9 @@ protected slots: void startHotSync( KPilotLink* lnk ); void endHotSync(); - void logMessage(const QString &); - void logError(const QString &); - void logProgress(const QString &,int); + void logMessage(const TQString &); + void logError(const TQString &); + void logProgress(const TQString &,int); private: int getPilotSpeed(); @@ -234,7 +234,7 @@ private: /** * Set or change the tooltip displayed by the tray icon. */ - void updateTrayStatus(const QString &s=QString::null); + void updateTrayStatus(const TQString &s=TQString::null); FileInstaller *fInstaller; @@ -272,7 +272,7 @@ private: LoggerDCOP_stub *fLogStub; LoggerDCOP_stub *fLogFileStub; KPilotDCOP_stub *fKPilotStub; - QString fTempDevice; + TQString fTempDevice; }; |