summaryrefslogtreecommitdiffstats
path: root/kalarm/daemon.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:12 -0600
commitfd5d099065a748cac49e20a13481f85666c53c71 (patch)
treea0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kalarm/daemon.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
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);
}
}