diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:15:35 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:15:35 -0600 |
commit | f78eb03afb8c9a380985d26286afc40b4c89b292 (patch) | |
tree | 3c087e2f119e645c902958c3bc3c802abf078ad0 /languages/cpp/app_templates/kdevlang | |
parent | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff) | |
download | tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'languages/cpp/app_templates/kdevlang')
-rw-r--r-- | languages/cpp/app_templates/kdevlang/kdevlang_part.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kdevlang/kdevlang_part.h | 4 |
2 files changed, 3 insertions, 3 deletions
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 <tqstringlist.h> #include <kdialogbase.h> -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; }; |