summaryrefslogtreecommitdiffstats
path: root/kalarm/daemon.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 /kalarm/daemon.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 '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