diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kalarm/daemon.h | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kalarm/daemon.h')
-rw-r--r-- | kalarm/daemon.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/daemon.h b/kalarm/daemon.h index 775833d33..80afd2739 100644 --- a/kalarm/daemon.h +++ b/kalarm/daemon.h @@ -28,7 +28,7 @@ #include <kalarmd/kalarmd.h> #include <kalarmd/alarmguiiface.h> -class KActionCollection; +class TDEActionCollection; class AlarmCalendar; class AlarmEnableAction; class NotificationHandler; @@ -42,7 +42,7 @@ class Daemon : public TQObject static void initialise(); static void createDcopHandler(); static bool isDcopHandlerReady() { return mDcopHandler; } - static AlarmEnableAction* createAlarmEnableAction(KActionCollection*, const char* name); + static AlarmEnableAction* createAlarmEnableAction(TDEActionCollection*, const char* name); static bool start(); static bool reregister() { return registerWith(true); } static bool reset(); @@ -117,7 +117,7 @@ class Daemon : public TQObject = Class: AlarmEnableAction =============================================================================*/ -class AlarmEnableAction : public KToggleAction +class AlarmEnableAction : public TDEToggleAction { Q_OBJECT @@ -127,7 +127,7 @@ class AlarmEnableAction : public KToggleAction void setCheckedActual(bool); // set state and emit switched() signal virtual void setChecked(bool); // request state change and emit userClicked() signal signals: - void switched(bool); // state has changed (KToggleAction::toggled() is only emitted when clicked by user) + void switched(bool); // state has changed (TDEToggleAction::toggled() is only emitted when clicked by user) void userClicked(bool); // user has clicked the control (param = desired state) private: bool mInitialised; |