diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/kalarmd/alarmdaemon.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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 'kalarm/kalarmd/alarmdaemon.h')
-rw-r--r-- | kalarm/kalarmd/alarmdaemon.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kalarm/kalarmd/alarmdaemon.h b/kalarm/kalarmd/alarmdaemon.h index 6ab5d0f9a..54e7980a2 100644 --- a/kalarm/kalarmd/alarmdaemon.h +++ b/kalarm/kalarmd/alarmdaemon.h @@ -29,11 +29,11 @@ class ADCalendar; -class AlarmDaemon : public QObject, virtual public AlarmDaemonIface +class AlarmDaemon : public TQObject, virtual public AlarmDaemonIface { Q_OBJECT public: - AlarmDaemon(bool autostart, QObject* parent = 0, const char* name = 0); + AlarmDaemon(bool autostart, TQObject* parent = 0, const char* name = 0); private slots: //#ifdef AUTOSTART_KALARM @@ -46,34 +46,34 @@ class AlarmDaemon : public QObject, virtual public AlarmDaemonIface private: // DCOP interface void enableAutoStart(bool enable); - void enableCalendar(const QString& urlString, bool enable) + void enableCalendar(const TQString& urlString, bool enable) { enableCal(expandURL(urlString), enable); } - void reloadCalendar(const QCString& appname, const QString& urlString) + void reloadCalendar(const TQCString& appname, const TQString& urlString) { reloadCal(appname, expandURL(urlString), false); } - void resetCalendar(const QCString& appname, const QString& urlString) + void resetCalendar(const TQCString& appname, const TQString& urlString) { reloadCal(appname, expandURL(urlString), true); } - void registerApp(const QCString& appName, const QString& appTitle, const QCString& dcopObject, - const QString& calendarUrl, bool startClient); - void registerChange(const QCString& appName, bool startClient); - void eventHandled(const QCString& appname, const QString& calendarURL, const QString& eventID, bool reload); + void registerApp(const TQCString& appName, const TQString& appTitle, const TQCString& dcopObject, + const TQString& calendarUrl, bool startClient); + void registerChange(const TQCString& appName, bool startClient); + void eventHandled(const TQCString& appname, const TQString& calendarURL, const TQString& eventID, bool reload); void timeConfigChanged() { readKAlarmConfig(); } void quit(); // Other methods void readKAlarmConfig(); void startMonitoring(); - void enableCal(const QString& urlString, bool enable); - void reloadCal(const QCString& appname, const QString& urlString, bool reset); + void enableCal(const TQString& urlString, bool enable); + void reloadCal(const TQCString& appname, const TQString& urlString, bool reset); void reloadCal(ADCalendar*, bool reset); void checkAlarms(ADCalendar*); - bool notifyEvent(ADCalendar*, const QString& eventID); + bool notifyEvent(ADCalendar*, const TQString& eventID); void notifyCalStatus(const ADCalendar*); void setTimerStatus(); - static QString expandURL(const QString& urlString); + static TQString expandURL(const TQString& urlString); - QTimer* mAlarmTimer; + TQTimer* mAlarmTimer; int mAlarmTimerSyncCount; // countdown to re-synching the alarm timer bool mAlarmTimerSyncing; // true while alarm timer interval < 1 minute - QTime mStartOfDay; // start of day for date-only alarms + TQTime mStartOfDay; // start of day for date-only alarms }; #endif // ALARMDAEMON_H |