summaryrefslogtreecommitdiffstats
path: root/kalarm/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/daemon.h')
-rw-r--r--kalarm/daemon.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kalarm/daemon.h b/kalarm/daemon.h
index 04198904c..58b34ecdf 100644
--- a/kalarm/daemon.h
+++ b/kalarm/daemon.h
@@ -21,8 +21,8 @@
#ifndef DAEMON_H
#define DAEMON_H
-#include <qobject.h>
-#include <qdatetime.h>
+#include <tqobject.h>
+#include <tqdatetime.h>
#include <kaction.h>
#include <kalarmd/kalarmd.h>
@@ -57,9 +57,9 @@ class Daemon : public QObject
static bool isRegistered() { return mStatus == REGISTERED; }
static void allowRegisterFailMsg() { mRegisterFailMsg = false; }
- static void queueEvent(const QString& eventID);
- static void savingEvent(const QString& eventID);
- static void eventHandled(const QString& eventID, bool reloadCal);
+ static void queueEvent(const TQString& eventID);
+ static void savingEvent(const TQString& eventID);
+ static void eventHandled(const TQString& eventID, bool reloadCal);
signals:
void daemonRunning(bool running);
@@ -86,7 +86,7 @@ class Daemon : public QObject
static bool registerWith(bool reregister);
static void registrationResult(bool reregister, int result, int version = 0);
static void reload();
- static void notifyEventHandled(const QString& eventID, bool reloadCal);
+ static void notifyEventHandled(const TQString& eventID, bool reloadCal);
static void updateRegisteredStatus(bool timeout = false);
static void enableCalendar(bool enable);
static void calendarIsEnabled(bool enabled);
@@ -95,11 +95,11 @@ class Daemon : public QObject
static Daemon* mInstance; // only one instance allowed
static NotificationHandler* mDcopHandler; // handles DCOP requests from daemon
- static QValueList<QString> mQueuedEvents; // IDs of pending events that daemon has triggered
- static QValueList<QString> mSavingEvents; // IDs of updated events that are currently being saved
- static QTimer* mStartTimer; // timer to check daemon status after starting daemon
- static QTimer* mRegisterTimer; // timer to check whether daemon has sent registration status
- static QTimer* mStatusTimer; // timer for checking daemon status
+ static TQValueList<TQString> mQueuedEvents; // IDs of pending events that daemon has triggered
+ static TQValueList<TQString> mSavingEvents; // IDs of updated events that are currently being saved
+ static TQTimer* mStartTimer; // timer to check daemon status after starting daemon
+ static TQTimer* mRegisterTimer; // timer to check whether daemon has sent registration status
+ static TQTimer* mStatusTimer; // timer for checking daemon status
static int mStatusTimerCount; // countdown for fast status checking
static int mStatusTimerInterval; // timer interval (seconds) for checking daemon status
static int mStartTimeout; // remaining number of times to check if alarm daemon has started
@@ -120,7 +120,7 @@ class AlarmEnableAction : public KToggleAction
{
Q_OBJECT
public:
- AlarmEnableAction(int accel, QObject* parent, const char* name = 0);
+ AlarmEnableAction(int accel, TQObject* parent, const char* name = 0);
public slots:
void setCheckedActual(bool); // set state and emit switched() signal
virtual void setChecked(bool); // request state change and emit userClicked() signal