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/custommakefiles | |
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/custommakefiles')
-rw-r--r-- | buildtools/custommakefiles/customprojectpart.cpp | 24 | ||||
-rw-r--r-- | buildtools/custommakefiles/customprojectpart.h | 4 | ||||
-rw-r--r-- | buildtools/custommakefiles/selectnewfilesdialogbase.ui | 2 |
3 files changed, 15 insertions, 15 deletions
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp index 6e5bc476..a2437019 100644 --- a/buildtools/custommakefiles/customprojectpart.cpp +++ b/buildtools/custommakefiles/customprojectpart.cpp @@ -74,13 +74,13 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const m_executeAfterBuild = false; - KAction *action; + TDEAction *action; - action = new KAction( i18n( "Re-Populate Project" ), 0, this, TQT_SLOT( populateProject() ), actionCollection(), "repopulate_project" ); + action = new TDEAction( i18n( "Re-Populate Project" ), 0, this, TQT_SLOT( populateProject() ), actionCollection(), "repopulate_project" ); action->setToolTip( i18n( "Re-Populate Project" ) ); action->setWhatsThis( i18n( "<b>Re-Populate Project</b><p>Re-Populates the project, searching through the project directory and adding all files that match one of the wildcards set in the custom manager options of the project filelist." ) ); - 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" ) ); @@ -88,7 +88,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Build Options</b> tab." ) ); - action = new KAction( i18n( "&Build Active Directory" ), "make_tdevelop", Key_F7, + action = new TDEAction( i18n( "&Build Active Directory" ), "make_tdevelop", Key_F7, this, TQT_SLOT( slotBuildActiveDir() ), actionCollection(), "build_buildactivetarget" ); action->setToolTip( i18n( "Build active directory" ) ); @@ -96,7 +96,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Make Options</b> tab." ) ); - 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" ) ); @@ -104,7 +104,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Build Options</b> tab." ) ); - action = new KAction( i18n( "Install" ), 0, + action = new TDEAction( i18n( "Install" ), 0, this, TQT_SLOT( slotInstall() ), actionCollection(), "build_install" ); action->setToolTip( i18n( "Install" ) ); @@ -112,7 +112,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Make Options</b> tab." ) ); - action = new KAction( i18n( "Install Active Directory" ), 0, + action = new TDEAction( i18n( "Install Active Directory" ), 0, this, TQT_SLOT( slotInstallActiveDir() ), actionCollection(), "build_installactivetarget" ); action->setToolTip( i18n( "Install active directory" ) ); @@ -120,7 +120,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Make Options</b> tab." ) ); - 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" ) ); @@ -129,7 +129,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Make Options</b> tab." ) ); - 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" ) ); @@ -137,14 +137,14 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Build Options</b> tab." ) ); - action = new KAction( i18n( "Execute Program" ), "exec", 0, + action = new TDEAction( i18n( "Execute Program" ), "exec", 0, this, TQT_SLOT( slotExecute() ), actionCollection(), "build_execute" ); action->setToolTip( i18n( "Execute program" ) ); action->setWhatsThis( i18n( "<b>Execute program</b><p>Executes the main program specified in project settings, <b>Run Options</b> tab. " "If it is not specified then the active target is used to determine the application to run." ) ); - KActionMenu *menu = new KActionMenu( i18n( "Build &Target" ), + TDEActionMenu *menu = new TDEActionMenu( i18n( "Build &Target" ), actionCollection(), "build_target" ); m_targetMenu = menu->popupMenu(); menu->setToolTip( i18n( "Build target" ) ); @@ -155,7 +155,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const m_targetObjectFilesMenu = new TQPopupMenu(); m_targetOtherFilesMenu = new TQPopupMenu(); - m_makeEnvironmentsSelector = new KSelectAction( i18n( "Make &Environment" ), 0, + m_makeEnvironmentsSelector = new TDESelectAction( i18n( "Make &Environment" ), 0, actionCollection(), "build_make_environment" ); m_makeEnvironmentsSelector->setToolTip( i18n( "Make environment" ) ); m_makeEnvironmentsSelector->setWhatsThis( i18n( "<b>Make Environment</b><p> Choose the set of environment variables to be passed on to make.<br>" diff --git a/buildtools/custommakefiles/customprojectpart.h b/buildtools/custommakefiles/customprojectpart.h index 76680fa7..193218e4 100644 --- a/buildtools/custommakefiles/customprojectpart.h +++ b/buildtools/custommakefiles/customprojectpart.h @@ -28,7 +28,7 @@ class TQStringList; class KDialogBase; class CustomProjectWidget; class Context; -class KSelectAction; +class TDESelectAction; class CustomProjectPart : public KDevBuildTool { @@ -136,7 +136,7 @@ private: TQPopupMenu *m_targetMenu; TQPopupMenu *m_targetObjectFilesMenu; TQPopupMenu *m_targetOtherFilesMenu; - KSelectAction *m_makeEnvironmentsSelector; + TDESelectAction *m_makeEnvironmentsSelector; TQStringList m_targets; TQStringList m_targetsObjectFiles; TQStringList m_targetsOtherFiles; diff --git a/buildtools/custommakefiles/selectnewfilesdialogbase.ui b/buildtools/custommakefiles/selectnewfilesdialogbase.ui index baaa3012..e922d0e3 100644 --- a/buildtools/custommakefiles/selectnewfilesdialogbase.ui +++ b/buildtools/custommakefiles/selectnewfilesdialogbase.ui @@ -24,7 +24,7 @@ <string>Files to add to the Project:</string> </property> </widget> - <widget class="KListView"> + <widget class="TDEListView"> <property name="name"> <cstring>fileView</cstring> </property> |