summaryrefslogtreecommitdiffstats
path: root/buildtools/ant
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:15:35 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /buildtools/ant
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-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.cpp4
-rw-r--r--buildtools/ant/antprojectpart.h4
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;