diff options
Diffstat (limited to 'languages/cpp/app_templates/kde4app')
-rw-r--r-- | languages/cpp/app_templates/kde4app/kapp4.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kde4app/kapp4.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp index b6a93a2b..0cbd25ed 100644 --- a/languages/cpp/app_templates/kde4app/kapp4.cpp +++ b/languages/cpp/app_templates/kde4app/kapp4.cpp @@ -53,7 +53,7 @@ void %{APPNAME}::setupActions() 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); + TDEAction *custom = new TDEAction(KIcon("colorize"), i18n("Swi&tch Colors"), this); actionCollection()->addAction( TQLatin1String("switch_action"), custom ); connect(custom, TQT_SIGNAL(triggered(bool)), m_view, TQT_SLOT(switchColors())); } diff --git a/languages/cpp/app_templates/kde4app/kapp4.h b/languages/cpp/app_templates/kde4app/kapp4.h index 68799e3c..3c209de2 100644 --- a/languages/cpp/app_templates/kde4app/kapp4.h +++ b/languages/cpp/app_templates/kde4app/kapp4.h @@ -9,7 +9,7 @@ class %{APPNAME}View; class KPrinter; -class KToggleAction; +class TDEToggleAction; class KUrl; /** @@ -47,8 +47,8 @@ private: %{APPNAME}View *m_view; KPrinter *m_printer; - KToggleAction *m_toolbarAction; - KToggleAction *m_statusbarAction; + TDEToggleAction *m_toolbarAction; + TDEToggleAction *m_statusbarAction; }; #endif // _%{APPNAMELC}_H_ |