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 /buildtools/ant | |
parent | da1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff) | |
download | tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'buildtools/ant')
-rw-r--r-- | buildtools/ant/antprojectpart.cpp | 4 | ||||
-rw-r--r-- | buildtools/ant/antprojectpart.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/ant/antprojectpart.cpp b/buildtools/ant/antprojectpart.cpp index 769fd3df..2925f240 100644 --- a/buildtools/ant/antprojectpart.cpp +++ b/buildtools/ant/antprojectpart.cpp @@ -52,13 +52,13 @@ AntProjectPart::AntProjectPart(TQObject *parent, const char *name, const TQStrin setXMLFile("kdevantproject.rc"); - m_buildProjectAction = new KAction(i18n("&Build Project"), "make_tdevelop", Key_F8, + m_buildProjectAction = new TDEAction(i18n("&Build Project"), "make_tdevelop", Key_F8, this, TQT_SLOT(slotBuild()), actionCollection(), "build_build" ); m_buildProjectAction->setToolTip(i18n("Build project")); m_buildProjectAction->setWhatsThis(i18n("<b>Build project</b><p>Executes <b>ant dist</b> command to build the project.")); - KActionMenu *menu = new KActionMenu(i18n("Build &Target"), + TDEActionMenu *menu = new TDEActionMenu(i18n("Build &Target"), actionCollection(), "build_target" ); menu->setToolTip(i18n("Build target")); menu->setWhatsThis(i18n("<b>Build target</b><p>Executes <b>ant target_name</b> command to build the specified target.")); diff --git a/buildtools/ant/antprojectpart.h b/buildtools/ant/antprojectpart.h index 6185d2c6..e3b325d2 100644 --- a/buildtools/ant/antprojectpart.h +++ b/buildtools/ant/antprojectpart.h @@ -10,7 +10,7 @@ class TQPopupMenu; -class KAction; +class TDEAction; class KDialogBase; class Context; class ClassPathWidget; @@ -103,7 +103,7 @@ private: AntOptions m_antOptions; - KAction *m_buildProjectAction; + TDEAction *m_buildProjectAction; TQPopupMenu *m_targetMenu; |