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/functions.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'kalarm/functions.cpp') diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp index e637f22f..1177d23c 100644 --- a/kalarm/functions.cpp +++ b/kalarm/functions.cpp @@ -107,17 +107,17 @@ MainWindow* displayMainWindowSelected(const TQString& eventID) } /****************************************************************************** -* Create a New Alarm KAction. +* Create a New Alarm TDEAction. */ -KAction* createNewAlarmAction(const TQString& label, TQObject* receiver, const char* slot, KActionCollection* actions, const char* name) +TDEAction* createNewAlarmAction(const TQString& label, TQObject* receiver, const char* slot, TDEActionCollection* actions, const char* name) { - return new KAction(label, "filenew", KStdAccel::openNew(), receiver, slot, actions, name); + return new TDEAction(label, "filenew", TDEStdAccel::openNew(), receiver, slot, actions, name); } /****************************************************************************** -* Create a New From Template KAction. +* Create a New From Template TDEAction. */ -TemplateMenuAction* createNewFromTemplateAction(const TQString& label, TQObject* receiver, const char* slot, KActionCollection* actions, const char* name) +TemplateMenuAction* createNewFromTemplateAction(const TQString& label, TQObject* receiver, const char* slot, TDEActionCollection* actions, const char* name) { return new TemplateMenuAction(label, "new_from_template", receiver, slot, actions, name); } -- cgit v1.2.3