summaryrefslogtreecommitdiffstats
path: root/kalarm/kalarmd/alarmdaemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/kalarmd/alarmdaemon.h')
-rw-r--r--kalarm/kalarmd/alarmdaemon.h30
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