summaryrefslogtreecommitdiffstats
path: root/kalarm/templatemenuaction.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/templatemenuaction.cpp
parentb440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff)
downloadtdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz
tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kalarm/templatemenuaction.cpp')
-rw-r--r--kalarm/templatemenuaction.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalarm/templatemenuaction.cpp b/kalarm/templatemenuaction.cpp
index 7f61d6f9b..7500b4764 100644
--- a/kalarm/templatemenuaction.cpp
+++ b/kalarm/templatemenuaction.cpp
@@ -31,8 +31,8 @@
TemplateMenuAction::TemplateMenuAction(const TQString& label, const TQString& icon, TQObject* receiver,
- const char* slot, KActionCollection* actions, const char* name)
- : KActionMenu(label, icon, actions, name)
+ const char* slot, TDEActionCollection* actions, const char* name)
+ : TDEActionMenu(label, icon, actions, name)
{
setDelayed(false);
connect(popupMenu(), TQT_SIGNAL(aboutToShow()), TQT_SLOT(slotInitMenu()));
@@ -46,7 +46,7 @@ TemplateMenuAction::TemplateMenuAction(const TQString& label, const TQString& ic
*/
void TemplateMenuAction::slotInitMenu()
{
- KPopupMenu* menu = popupMenu();
+ TDEPopupMenu* menu = popupMenu();
menu->clear();
mOriginalTexts.clear();
TQValueList<KAEvent> templates = KAlarm::templateList();
@@ -70,7 +70,7 @@ void TemplateMenuAction::slotInitMenu()
*/
void TemplateMenuAction::slotSelected(int id)
{
- KPopupMenu* menu = popupMenu();
+ TDEPopupMenu* menu = popupMenu();
TQString item = mOriginalTexts[menu->indexOf(id)];
if (!item.isEmpty())
{