diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:15:35 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:15:35 -0600 |
commit | f78eb03afb8c9a380985d26286afc40b4c89b292 (patch) | |
tree | 3c087e2f119e645c902958c3bc3c802abf078ad0 /languages/cpp/app_templates/kdevpart2 | |
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/kdevpart2')
-rw-r--r-- | languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kdevpart2/kdevpart_part.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp b/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp index 082549c4..62ab3d94 100644 --- a/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp +++ b/languages/cpp/app_templates/kdevpart2/kdevpart_part.cpp @@ -91,7 +91,7 @@ void %{APPNAME}Part::init() void %{APPNAME}Part::setupActions() { // create XMLGUI actions here - action = new KAction(i18n("&Do Something..."), 0, + action = new TDEAction(i18n("&Do Something..."), 0, this, TQT_SLOT(doSomething()), actionCollection(), "plugin_action" ); action->setToolTip(i18n("Do something")); action->setWhatsThis(i18n("<b>Do something</b><p>Describe here what does this action do.")); diff --git a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h index 482df00f..9414d448 100644 --- a/languages/cpp/app_templates/kdevpart2/kdevpart_part.h +++ b/languages/cpp/app_templates/kdevpart2/kdevpart_part.h @@ -7,7 +7,7 @@ #include <tqguardedptr.h> class TQPopupMenu; -class KAction; +class TDEAction; class KDialogBase; class Context; class ConfigWidgetProxy; @@ -37,7 +37,7 @@ private slots: private: void setupActions(); - KAction *action; + TDEAction *action; TQGuardedPtr<%{APPNAME}Widget> m_widget; ConfigWidgetProxy *m_configProxy; |