From 82fc754f7c4e43eace608a45c22e74e532bd33f1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:29:56 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- languages/cpp/app_templates/kde4app/kapp4.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'languages/cpp/app_templates/kde4app') diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp index 5320898d..ec0d9dda 100644 --- a/languages/cpp/app_templates/kde4app/kapp4.cpp +++ b/languages/cpp/app_templates/kde4app/kapp4.cpp @@ -47,10 +47,10 @@ void %{APPNAME}::setupActions() { - KStandardAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); - KStandardAction::quit(tqApp, TQT_SLOT(quit()), actionCollection()); + TDEStandardAction::openNew(this, TQT_SLOT(fileNew()), actionCollection()); + TDEStandardAction::quit(tqApp, TQT_SLOT(quit()), actionCollection()); - KStandardAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection()); + TDEStandardAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection()); // custom menu and menu item - the slot is in the class %{APPNAME}View KAction *custom = new KAction(KIcon("colorize"), i18n("Swi&tch Colors"), this); -- cgit v1.2.1