From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kalarm/daemon.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kalarm/daemon.h') diff --git a/kalarm/daemon.h b/kalarm/daemon.h index 775833d3..80afd273 100644 --- a/kalarm/daemon.h +++ b/kalarm/daemon.h @@ -28,7 +28,7 @@ #include #include -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; -- cgit v1.2.3