From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- languages/cpp/app_templates/kdevlang/kdevlang_part.cpp | 2 +- languages/cpp/app_templates/kdevlang/kdevlang_part.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'languages/cpp/app_templates/kdevlang') diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp index 364ec0d7..ce011498 100644 --- a/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp +++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.cpp @@ -28,7 +28,7 @@ static const KDevPluginInfo data("kdev%{APPNAMELC}"); setXMLFile("kdevlang_%{APPNAMELC}.rc"); - m_build = new KAction( i18n("&Run"), "exec",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" ); + m_build = new TDEAction( i18n("&Run"), "exec",Key_F9,this, TQT_SLOT(slotRun()),actionCollection(), "build_execute" ); kdDebug() << "Creating %{APPNAMELC} Part" << endl; diff --git a/languages/cpp/app_templates/kdevlang/kdevlang_part.h b/languages/cpp/app_templates/kdevlang/kdevlang_part.h index f6439768..1cce0fa6 100644 --- a/languages/cpp/app_templates/kdevlang/kdevlang_part.h +++ b/languages/cpp/app_templates/kdevlang/kdevlang_part.h @@ -10,7 +10,7 @@ #include #include -class KAction; +class TDEAction; /* Please read the README.dox file for more info about this part @@ -37,7 +37,7 @@ class %{APPNAME}Part : public KDevLanguageSupport void parse(); void slotActivePartChanged(KParts::Part *part); private: - KAction *m_build; + TDEAction *m_build; }; -- cgit v1.2.1