summaryrefslogtreecommitdiffstats
path: root/kalarm/daemon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm/daemon.cpp')
-rw-r--r--kalarm/daemon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kalarm/daemon.cpp b/kalarm/daemon.cpp
index 1c37f9745..db9b3b04d 100644
--- a/kalarm/daemon.cpp
+++ b/kalarm/daemon.cpp
@@ -566,7 +566,7 @@ void Daemon::slotPreferencesChanged()
/******************************************************************************
* Create an "Alarms Enabled/Enable Alarms" action.
*/
-AlarmEnableAction* Daemon::createAlarmEnableAction(KActionCollection* actions, const char* name)
+AlarmEnableAction* Daemon::createAlarmEnableAction(TDEActionCollection* actions, const char* name)
{
AlarmEnableAction* a = new AlarmEnableAction(0, actions, name);
connect(a, TQT_SIGNAL(userClicked(bool)), mInstance, TQT_SLOT(setAlarmsEnabled(bool)));
@@ -724,7 +724,7 @@ void NotificationHandler::registered(bool reregister, int result, int version)
=============================================================================*/
AlarmEnableAction::AlarmEnableAction(int accel, TQObject* parent, const char* name)
- : KToggleAction(i18n("Enable &Alarms"), accel, parent, name),
+ : TDEToggleAction(i18n("Enable &Alarms"), accel, parent, name),
mInitialised(false)
{
setCheckedState(i18n("Disable &Alarms"));
@@ -740,7 +740,7 @@ void AlarmEnableAction::setCheckedActual(bool running)
kdDebug(5950) << "AlarmEnableAction::setCheckedActual(" << running << ")\n";
if (running != isChecked() || !mInitialised)
{
- KToggleAction::setChecked(running);
+ TDEToggleAction::setChecked(running);
emit switched(running);
}
}