diff options
Diffstat (limited to 'languages/cpp/app_templates/kpartapp')
-rw-r--r-- | languages/cpp/app_templates/kpartapp/app.h | 6 | ||||
-rw-r--r-- | languages/cpp/app_templates/kpartapp/app_part.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kpartapp/app.h b/languages/cpp/app_templates/kpartapp/app.h index 6b470b92..c64525c6 100644 --- a/languages/cpp/app_templates/kpartapp/app.h +++ b/languages/cpp/app_templates/kpartapp/app.h @@ -9,7 +9,7 @@ #include <kapplication.h> #include <tdeparts/mainwindow.h> -class KToggleAction; +class TDEToggleAction; /** * This is the application "Shell". It has a menubar, toolbar, and @@ -70,8 +70,8 @@ private: private: KParts::ReadWritePart *m_part; - KToggleAction *m_toolbarAction; - KToggleAction *m_statusbarAction; + TDEToggleAction *m_toolbarAction; + TDEToggleAction *m_statusbarAction; }; #endif // _%{APPNAMEUC}_H_ diff --git a/languages/cpp/app_templates/kpartapp/app_part.cpp b/languages/cpp/app_templates/kpartapp/app_part.cpp index 518d4514..0187646e 100644 --- a/languages/cpp/app_templates/kpartapp/app_part.cpp +++ b/languages/cpp/app_templates/kpartapp/app_part.cpp @@ -63,7 +63,7 @@ void %{APPNAME}Part::setReadWrite(bool rw) void %{APPNAME}Part::setModified(bool modified) { // get a handle on our Save action and make sure it is valid - KAction *save = actionCollection()->action(KStdAction::stdName(KStdAction::Save)); + TDEAction *save = actionCollection()->action(KStdAction::stdName(KStdAction::Save)); if (!save) return; |