diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kalarm/functions.cpp | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kalarm/functions.cpp')
-rw-r--r-- | kalarm/functions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kalarm/functions.cpp b/kalarm/functions.cpp index e637f22f5..1177d23c5 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); } |