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/autotools/autoprojectpart.cpp | |
| 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/autotools/autoprojectpart.cpp')
| -rw-r--r-- | buildtools/autotools/autoprojectpart.cpp | 30 | 
1 files changed, 15 insertions, 15 deletions
| diff --git a/buildtools/autotools/autoprojectpart.cpp b/buildtools/autotools/autoprojectpart.cpp index a84038a2..81877df9 100644 --- a/buildtools/autotools/autoprojectpart.cpp +++ b/buildtools/autotools/autoprojectpart.cpp @@ -88,9 +88,9 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                     "targets and files for the subproject selected in the overview."));      mainWindow()->embedSelectViewRight(m_widget, i18n("Automake Manager"), i18n("Automake manager")); -    KAction *action; +    TDEAction *action; -    action = new KAction( i18n("Add Translation..."), 0, +    action = new TDEAction( i18n("Add Translation..."), 0,                            this, TQT_SLOT(slotAddTranslation()),                            actionCollection(), "project_addtranslation" );      action->setToolTip(i18n("Add translation")); @@ -101,7 +101,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr      if (!m_isKDE)          action->setEnabled(false); -    action = new KAction( i18n("&Build Project"), "make_tdevelop", Key_F8, +    action = new TDEAction( i18n("&Build Project"), "make_tdevelop", Key_F8,                            this, TQT_SLOT(slotBuild()),                            actionCollection(), "build_build" );      action->setToolTip(i18n("Build project")); @@ -110,7 +110,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "in the project settings dialog, <b>Make Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("Build &Active Target"), "make_tdevelop", Key_F7, +    action = new TDEAction( i18n("Build &Active Target"), "make_tdevelop", Key_F7,                            this, TQT_SLOT(slotBuildActiveTarget()),                            actionCollection(), "build_buildactivetarget" );      action->setToolTip(i18n("Build active target")); @@ -120,7 +120,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "in the project settings dialog, <b>Make Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("Compile &File"), "make_tdevelop", +    action = new TDEAction( i18n("Compile &File"), "make_tdevelop",                            this, TQT_SLOT(slotCompileFile()),                            actionCollection(), "build_compilefile" );      action->setToolTip(i18n("Compile file")); @@ -129,7 +129,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "in the project settings dialog, <b>Make Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("Run Configure"), 0, +    action = new TDEAction( i18n("Run Configure"), 0,                            this, TQT_SLOT(slotConfigure()),                            actionCollection(), "build_configure" );      action->setToolTip(i18n("Run configure")); @@ -138,21 +138,21 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "<b>Configure Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("Run automake && friends"), 0, +    action = new TDEAction( i18n("Run automake && friends"), 0,                            this, TQT_SLOT(slotMakefilecvs()),                            actionCollection(), "build_makefilecvs" );      action->setToolTip(i18n("Run automake && friends"));      action->setWhatsThis(i18n("<b>Run automake && friends</b><p>Executes<br><b>make -f Makefile.cvs</b><br><b>./configure</b><br>commands from the project directory."));      action->setGroup("autotools"); -    action = new KAction( i18n("Update admin module"), 0, +    action = new TDEAction( i18n("Update admin module"), 0,                            this, TQT_SLOT(slotUpdateAdminDirectory()),                            actionCollection(), "build_updateadmin" );      action->setToolTip(i18n("Update admin module"));      action->setWhatsThis(i18n("<b>Update admin module</b><p>Recreates the project admin directory using the version present on the local system."));      action->setGroup("autotools"); -    action = new KAction( i18n("Install"), 0, +    action = new TDEAction( i18n("Install"), 0,                            this, TQT_SLOT(slotInstall()),                            actionCollection(), "build_install" );      action->setToolTip(i18n("Install")); @@ -161,7 +161,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "in the project settings dialog, <b>Make Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("Install (as root user)"), 0, +    action = new TDEAction( i18n("Install (as root user)"), 0,                            this, TQT_SLOT(slotInstallWithKdesu()),                            actionCollection(), "build_install_tdesu" );      action->setToolTip(i18n("Install as root user")); @@ -171,7 +171,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "in the project settings dialog, <b>Make Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("&Clean Project"), 0, +    action = new TDEAction( i18n("&Clean Project"), 0,                            this, TQT_SLOT(slotClean()),                            actionCollection(), "build_clean" );      action->setToolTip(i18n("Clean project")); @@ -180,7 +180,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "in the project settings dialog, <b>Make Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("&Distclean"), 0, +    action = new TDEAction( i18n("&Distclean"), 0,                            this, TQT_SLOT(slotDistClean()),                            actionCollection(), "build_distclean" );      action->setToolTip(i18n("Distclean")); @@ -189,7 +189,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr                                "in the project settings dialog, <b>Make Options</b> tab."));      action->setGroup("autotools"); -    action = new KAction( i18n("Make Messages && Merge"), 0, +    action = new TDEAction( i18n("Make Messages && Merge"), 0,                            this, TQT_SLOT(slotMakeMessages()),                            actionCollection(), "build_messages" );      action->setToolTip(i18n("Make messages && merge")); @@ -201,7 +201,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr      if (!m_isKDE)          action->setEnabled(false); -    buildConfigAction = new KSelectAction( i18n("Build Configuration"), 0, +    buildConfigAction = new TDESelectAction( i18n("Build Configuration"), 0,                                             actionCollection(), "project_configuration" );      buildConfigAction->setToolTip(i18n("Build configuration menu"));      buildConfigAction->setWhatsThis(i18n("<b>Build configuration menu</b><p>Allows to switch between project build configurations.<br>" @@ -213,7 +213,7 @@ AutoProjectPart::AutoProjectPart(TQObject *parent, const char *name, const TQStr      TQDomDocument &dom = *projectDom();      if (!DomUtil::readBoolEntry(dom, "/kdevautoproject/run/disable_default")) {          //ok we handle the execute in this kpart -        action = new KAction( i18n("Execute Program"), "exec", SHIFT+Key_F9, +        action = new TDEAction( i18n("Execute Program"), "exec", SHIFT+Key_F9,                                this, TQT_SLOT(slotExecute()),                                actionCollection(), "build_execute" );          action->setToolTip(i18n("Execute program")); | 
