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 | |
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')
-rw-r--r-- | buildtools/autotools/autodetailsview.cpp | 16 | ||||
-rw-r--r-- | buildtools/autotools/autodetailsview.h | 10 | ||||
-rw-r--r-- | buildtools/autotools/autoprojectpart.cpp | 30 | ||||
-rw-r--r-- | buildtools/autotools/autoprojectpart.h | 4 | ||||
-rw-r--r-- | buildtools/autotools/autoprojectviewbase.ui | 2 | ||||
-rw-r--r-- | buildtools/autotools/autoprojectwidget.h | 6 | ||||
-rw-r--r-- | buildtools/autotools/autosubprojectview.cpp | 28 | ||||
-rw-r--r-- | buildtools/autotools/autosubprojectview.h | 28 | ||||
-rw-r--r-- | buildtools/autotools/autotoolsaction.cpp | 58 | ||||
-rw-r--r-- | buildtools/autotools/autotoolsaction.h | 34 | ||||
-rw-r--r-- | buildtools/autotools/choosetargetdlgbase.ui | 2 | ||||
-rw-r--r-- | buildtools/autotools/removetargetdlgbase.ui | 2 |
12 files changed, 110 insertions, 110 deletions
diff --git a/buildtools/autotools/autodetailsview.cpp b/buildtools/autotools/autodetailsview.cpp index 9c72999f..d07329ff 100644 --- a/buildtools/autotools/autodetailsview.cpp +++ b/buildtools/autotools/autodetailsview.cpp @@ -174,7 +174,7 @@ void AutoDetailsView::slotSelectionChanged( TQListViewItem* item ) void AutoDetailsView::initActions() { - KActionCollection * actions = new KActionCollection( this ); + TDEActionCollection * actions = new TDEActionCollection( this ); targetOptionsAction = new AutoToolsAction( i18n( "Options..." ), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT( slotTargetOptions() ), actions, @@ -207,7 +207,7 @@ void AutoDetailsView::initActions() addExistingFileAction->plug( m_button2 ); addExistingFileAction->setEnabled( false ); - addIconAction = new KAction( i18n( "Add Icon..." ), "iconadd_tdevelop", 0, + addIconAction = new TDEAction( i18n( "Add Icon..." ), "iconadd_tdevelop", 0, TQT_TQOBJECT(this), TQT_SLOT( slotAddIcon() ), actions, "add icon" ); addIconAction->setWhatsThis(i18n("<b>Add icon</b><p>Adds an icon to a KDEICON target.")); @@ -230,7 +230,7 @@ void AutoDetailsView::initActions() executeTargetAction->plug( m_button5 ); executeTargetAction->setEnabled( false ); - setActiveTargetAction = new KAction( i18n( "Make Target Active" ), "", 0, + setActiveTargetAction = new TDEAction( i18n( "Make Target Active" ), "", 0, TQT_TQOBJECT(this), TQT_SLOT( slotSetActiveTarget() ), actions, "set active target" ); setActiveTargetAction->setWhatsThis(i18n("<b>Make target active</b><p>Marks the " @@ -255,8 +255,8 @@ void AutoDetailsView::initActions() this, TQT_SLOT( slotDetailsExecuted( TQListViewItem* ) ) ); connect( m_listView, TQT_SIGNAL( returnPressed( TQListViewItem* ) ), this, TQT_SLOT( slotDetailsExecuted( TQListViewItem* ) ) ); - connect( m_listView, TQT_SIGNAL( contextMenu( KListView*, TQListViewItem*, const TQPoint& ) ), - this, TQT_SLOT( slotDetailsContextMenu( KListView*, TQListViewItem*, const TQPoint& ) ) ); + connect( m_listView, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ), + this, TQT_SLOT( slotDetailsContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) ); } TQString AutoDetailsView::getUiFileLink(const TQString& relpath, const TQString& filename) @@ -469,7 +469,7 @@ void AutoDetailsView::slotRemoveDetail() } -void AutoDetailsView::slotDetailsContextMenu( KListView *, TQListViewItem *item, const TQPoint &p ) +void AutoDetailsView::slotDetailsContextMenu( TDEListView *, TQListViewItem *item, const TQPoint &p ) { if ( !item ) return; @@ -499,7 +499,7 @@ void AutoDetailsView::slotDetailsContextMenu( KListView *, TQListViewItem *item, else caption = titem->name; - KPopupMenu popup( i18n( "Target: %1" ).arg( caption ), this ); + TDEPopupMenu popup( i18n( "Target: %1" ).arg( caption ), this ); if ( titem->primary == "PROGRAMS" || titem->primary == "LIBRARIES" || titem->primary == "LTLIBRARIES" || titem->primary == "JAVA" ) @@ -554,7 +554,7 @@ void AutoDetailsView::slotDetailsContextMenu( KListView *, TQListViewItem *item, return; } - KPopupMenu popup( i18n( "File: %1" ).arg( fitem->name ), this ); + TDEPopupMenu popup( i18n( "File: %1" ).arg( fitem->name ), this ); removeDetailAction->plug( &popup ); KURL::List urls; diff --git a/buildtools/autotools/autodetailsview.h b/buildtools/autotools/autodetailsview.h index d1673cdd..c2ad1afb 100644 --- a/buildtools/autotools/autodetailsview.h +++ b/buildtools/autotools/autodetailsview.h @@ -21,7 +21,7 @@ #include "domutil.h" #include "autolistviewitems.h" -class KAction; +class TDEAction; class AutoProjectPart; class AutoProjectWidget; @@ -39,7 +39,7 @@ public: virtual ~AutoDetailsView(); TQString getUiFileLink( const TQString &path, const TQString& filename ); - KListView* listView() + TDEListView* listView() { return m_listView; } @@ -57,7 +57,7 @@ protected: private slots: void slotDetailsExecuted( TQListViewItem *item ); - void slotDetailsContextMenu( KListView *, TQListViewItem *item, const TQPoint &p ); + void slotDetailsContextMenu( TDEListView *, TQListViewItem *item, const TQPoint &p ); void slotTargetOptions (); void slotAddNewFile(); @@ -77,10 +77,10 @@ private: AutoToolsAction* targetOptionsAction; AutoToolsAction* addNewFileAction; AutoToolsAction* addExistingFileAction; - KAction* addIconAction; + TDEAction* addIconAction; AutoToolsAction* buildTargetAction; AutoToolsAction* executeTargetAction; - KAction* setActiveTargetAction; + TDEAction* setActiveTargetAction; AutoToolsAction* removeDetailAction; }; 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")); diff --git a/buildtools/autotools/autoprojectpart.h b/buildtools/autotools/autoprojectpart.h index 63da2fd9..6502fba7 100644 --- a/buildtools/autotools/autoprojectpart.h +++ b/buildtools/autotools/autoprojectpart.h @@ -27,7 +27,7 @@ class TQDomElement; class TQStringList; class KDialogBase; class AutoProjectWidget; -class KSelectAction; +class TDESelectAction; class TargetItem; class ConfigWidgetProxy; @@ -121,7 +121,7 @@ private: TQGuardedPtr<AutoProjectWidget> m_widget; TQString m_projectName; TQString m_projectPath; - KSelectAction *buildConfigAction; + TDESelectAction *buildConfigAction; TQString makeEnvironment() const; void setWantautotools(); diff --git a/buildtools/autotools/autoprojectviewbase.ui b/buildtools/autotools/autoprojectviewbase.ui index 3e33fb41..e35219f0 100644 --- a/buildtools/autotools/autoprojectviewbase.ui +++ b/buildtools/autotools/autoprojectviewbase.ui @@ -100,7 +100,7 @@ </widget> </hbox> </widget> - <widget class="KListView" row="1" column="0"> + <widget class="TDEListView" row="1" column="0"> <property name="name"> <cstring>m_listView</cstring> </property> diff --git a/buildtools/autotools/autoprojectwidget.h b/buildtools/autotools/autoprojectwidget.h index 7859f472..8ad8bf7e 100644 --- a/buildtools/autotools/autoprojectwidget.h +++ b/buildtools/autotools/autoprojectwidget.h @@ -36,12 +36,12 @@ class AutoDetailsView; class SubprojectItem; class TargetItem; class FileItem; -class KAction; +class TDEAction; class TQDomElement; class TQToolButton; class TQStringList; class TQFocusEvent; -class KListViewItem; +class TDEListViewItem; class TQListViewItem; class MakefileHandler; @@ -63,7 +63,7 @@ public: */ TQStringList allSubprojects(); /** - * A list of all Subproject items in the overview KListView + * A list of all Subproject items in the overview TDEListView */ TQPtrList <SubprojectItem> allSubprojectItems(); /** diff --git a/buildtools/autotools/autosubprojectview.cpp b/buildtools/autotools/autosubprojectview.cpp index 9e9459fd..42223c15 100644 --- a/buildtools/autotools/autosubprojectview.cpp +++ b/buildtools/autotools/autosubprojectview.cpp @@ -170,7 +170,7 @@ void AutoSubprojectView::loadMakefileams ( const TQString& dir ) void AutoSubprojectView::initActions() { - KActionCollection * actions = new KActionCollection( this ); + TDEActionCollection * actions = new TDEActionCollection( this ); subProjectOptionsAction = new AutoToolsAction( i18n( "Options..." ), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT( slotSubprojectOptions() ), actions, "subproject options" ); @@ -186,12 +186,12 @@ void AutoSubprojectView::initActions() "subproject in currently selected subproject.</qt>")); addSubprojectAction->plug( m_button1 ); - removeSubprojectAction = new KAction( i18n( "Remove Subproject..." ), "remove_subdir", 0, + removeSubprojectAction = new TDEAction( i18n( "Remove Subproject..." ), "remove_subdir", 0, TQT_TQOBJECT(this), TQT_SLOT( slotRemoveSubproject() ), actions, "remove subproject" ); removeSubprojectAction->setWhatsThis(i18n("<qt><b>Remove subproject</b><p>Removes the subproject. Asks if the " "subproject should be also removed from disk. Only subprojects " "which do not hold other subprojects can be removed.</qt>")); - addExistingSubprojectAction = new KAction( i18n( "Add Existing Subprojects..." ), "fileimport", 0, + addExistingSubprojectAction = new TDEAction( i18n( "Add Existing Subprojects..." ), "fileimport", 0, TQT_TQOBJECT(this), TQT_SLOT( slotAddExistingSubproject() ), actions, "add existing subproject" ); addExistingSubprojectAction->setWhatsThis(i18n("<qt><b>Add existing subprojects</b><p>Imports existing " "subprojects containing Makefile.am.</qt>")); @@ -226,7 +226,7 @@ void AutoSubprojectView::initActions() "dialog, <b>Make Options</b> tab.</qt>")); buildSubprojectAction->plug( m_button5 ); - forceReeditSubprojectAction = new KAction( i18n( "Force Reedit" ), 0, 0, TQT_TQOBJECT(this), + forceReeditSubprojectAction = new TDEAction( i18n( "Force Reedit" ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT( slotForceReeditSubproject() ), actions, "force-reedit subproject" ); forceReeditSubprojectAction->setWhatsThis(i18n("<qt><b>Force Reedit</b><p>Runs <b>make force-reedit</b> " "from the directory of the selected subproject.<br>This " @@ -238,20 +238,20 @@ void AutoSubprojectView::initActions() if (!m_part->isKDE()) forceReeditSubprojectAction->setEnabled(false); - cleanSubprojectAction = new KAction( i18n( "Clean" ), 0, 0, TQT_TQOBJECT(this), + cleanSubprojectAction = new TDEAction( i18n( "Clean" ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT( slotCleanSubproject() ), actions, "clean subproject" ); cleanSubprojectAction->setWhatsThis(i18n("<qt><b>Clean</b><p>Runs <b>make clean</b> from the directory of " "the selected subproject.<br> Environment variables and make " "arguments can be specified in the project settings dialog, " "<b>Make Options</b> tab.</qt>")); - installSubprojectAction = new KAction( i18n( "Install" ), 0, 0, TQT_TQOBJECT(this), + installSubprojectAction = new TDEAction( i18n( "Install" ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT( slotInstallSubproject() ), actions, "install subproject" ); installSubprojectAction->setWhatsThis(i18n("<qt><b>Install</b><p>Runs <b>make install</b> from the directory " "of the selected subproject.<br> Environment variables and " "make arguments can be specified in the project settings " "dialog, <b>Make Options</b> tab.</qt>")); - installSuSubprojectAction = new KAction( i18n( "Install (as root user)" ), 0, 0, + installSuSubprojectAction = new TDEAction( i18n( "Install (as root user)" ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT( slotInstallSuSubproject() ), actions, "install subproject as root" ); installSuSubprojectAction->setWhatsThis(i18n("<qt><b>Install as root user</b><p>Runs <b>make install</b> " "command from the directory of the selected subproject " @@ -260,27 +260,27 @@ void AutoSubprojectView::initActions() "can be specified in the project settings dialog, " "<b>Make Options</b> tab.</qt>")); - expandAction = new KAction( i18n( "Expand Subtree" ), 0, 0, TQT_TQOBJECT(this), + expandAction = new TDEAction( i18n( "Expand Subtree" ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotExpandTree()), actions, "expandAction" ); - collapseAction = new KAction( i18n( "Collapse Subtree" ), 0, 0, TQT_TQOBJECT(this), + collapseAction = new TDEAction( i18n( "Collapse Subtree" ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT(slotCollapseTree()), actions, "collapseAction" ); - otherAction = new KAction( i18n( "Manage Custom Commands..." ), 0, 0, TQT_TQOBJECT(this), + otherAction = new TDEAction( i18n( "Manage Custom Commands..." ), 0, 0, TQT_TQOBJECT(this), TQT_SLOT( slotManageBuildCommands() ), actions, "manage custom commands" ); otherAction->setWhatsThis(i18n("<qt><b>Manage custom commands</b><p>Allows to create, edit and " "delete custom build commands which appears in the subproject " "context menu.<br></qt>")); - connect( m_listView, TQT_SIGNAL( contextMenu( KListView*, TQListViewItem*, const TQPoint& ) ), - this, TQT_SLOT( slotContextMenu( KListView*, TQListViewItem*, const TQPoint& ) ) ); + connect( m_listView, TQT_SIGNAL( contextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ), + this, TQT_SLOT( slotContextMenu( TDEListView*, TQListViewItem*, const TQPoint& ) ) ); } -void AutoSubprojectView::slotContextMenu( KListView *, TQListViewItem *item, const TQPoint &p ) +void AutoSubprojectView::slotContextMenu( TDEListView *, TQListViewItem *item, const TQPoint &p ) { if ( !item ) return ; - KPopupMenu popup( i18n( "Subproject: %1" ).arg( item->text( 0 ) ), this ); + TDEPopupMenu popup( i18n( "Subproject: %1" ).arg( item->text( 0 ) ), this ); subProjectOptionsAction->plug( &popup ); popup.insertSeparator(); diff --git a/buildtools/autotools/autosubprojectview.h b/buildtools/autotools/autosubprojectview.h index cfeeb11c..fab7c546 100644 --- a/buildtools/autotools/autosubprojectview.h +++ b/buildtools/autotools/autosubprojectview.h @@ -20,14 +20,14 @@ #include "autoprojectviewbase.h" -class KAction; +class TDEAction; class AutoToolsAction; class AutoProjectWidget; class AutoProjectPart; class TargetItem; class SubprojectItem; -class KListViewItem; -class KListView; +class TDEListViewItem; +class TDEListView; namespace AutoProjectPrivate { @@ -51,7 +51,7 @@ public: void loadMakefileams ( const TQString& dir ); void parse( SubprojectItem *item ); - KListView* listView() const + TDEListView* listView() const { return m_listView; } @@ -88,24 +88,24 @@ private: AutoToolsAction* addApplicationAction; AutoToolsAction* subProjectOptionsAction; AutoToolsAction* addSubprojectAction; - KAction* addExistingSubprojectAction; + TDEAction* addExistingSubprojectAction; AutoToolsAction* addTargetAction; AutoToolsAction* addServiceAction; AutoToolsAction* buildSubprojectAction; - KAction* removeSubprojectAction; - KAction* cleanSubprojectAction; - KAction* forceReeditSubprojectAction; - KAction* installSubprojectAction; - KAction* installSuSubprojectAction; - KAction* otherAction; - KAction* expandAction; - KAction* collapseAction; + TDEAction* removeSubprojectAction; + TDEAction* cleanSubprojectAction; + TDEAction* forceReeditSubprojectAction; + TDEAction* installSubprojectAction; + TDEAction* installSuSubprojectAction; + TDEAction* otherAction; + TDEAction* expandAction; + TDEAction* collapseAction; TQStringList m_commandList; TQValueList<int> m_commandTypeList; private slots: - void slotContextMenu( KListView *, TQListViewItem *item, const TQPoint &p ); + void slotContextMenu( TDEListView *, TQListViewItem *item, const TQPoint &p ); //void slotSubprojectExecuted(TQListViewItem* item); void slotSelectionChanged( TQListViewItem* item ); void slotAddApplication(); diff --git a/buildtools/autotools/autotoolsaction.cpp b/buildtools/autotools/autotoolsaction.cpp index a9404e69..81039078 100644 --- a/buildtools/autotools/autotoolsaction.cpp +++ b/buildtools/autotools/autotoolsaction.cpp @@ -24,87 +24,87 @@ AutoToolsAction::~AutoToolsAction() { } -AutoToolsAction::AutoToolsAction( const TQString& text, const KShortcut& cut, +AutoToolsAction::AutoToolsAction( const TQString& text, const TDEShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( text, cut, receiver, slot, parent, name ) + TDEActionCollection* parent, const char* name ) +: TDEAction( text, cut, receiver, slot, parent, name ) { } -AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, +AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix, const TDEShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) + TDEActionCollection* parent, const char* name ) +: TDEAction( text, pix, cut, receiver, slot, parent, name ) { } -AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix, const KShortcut& cut, +AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix, const TDEShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) + TDEActionCollection* parent, const char* name ) +: TDEAction( text, pix, cut, receiver, slot, parent, name ) { } -AutoToolsAction::AutoToolsAction( const KGuiItem& item, const KShortcut & cut, +AutoToolsAction::AutoToolsAction( const KGuiItem& item, const TDEShortcut & cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ) -: KAction( item, cut, receiver, slot, parent, name ) + TDEActionCollection* parent, const char* name ) +: TDEAction( item, cut, receiver, slot, parent, name ) { } -AutoToolsAction::AutoToolsAction( const TQString& text, const KShortcut& cut, +AutoToolsAction::AutoToolsAction( const TQString& text, const TDEShortcut& cut, TQObject* parent, const char* name ) -: KAction( text, cut, parent, name ) +: TDEAction( text, cut, parent, name ) { } -AutoToolsAction::AutoToolsAction( const TQString& text, const KShortcut& cut, +AutoToolsAction::AutoToolsAction( const TQString& text, const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name ) -: KAction( text, cut, receiver, slot, parent, name ) +: TDEAction( text, cut, receiver, slot, parent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix, - const KShortcut& cut, TQObject* parent, const char* name ) -: KAction( text, pix, cut, parent, name ) + const TDEShortcut& cut, TQObject* parent, const char* name ) +: TDEAction( text, pix, cut, parent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix, - const KShortcut& cut, TQObject* parent, const char* name ) -: KAction( text, pix, cut, parent, name ) + const TDEShortcut& cut, TQObject* parent, const char* name ) +: TDEAction( text, pix, cut, parent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQIconSet& pix, - const KShortcut& cut, const TQObject* receiver, + const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char * name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) +: TDEAction( text, pix, cut, receiver, slot, parent, name ) { } AutoToolsAction::AutoToolsAction( const TQString& text, const TQString& pix, - const KShortcut & cut, const TQObject* receiver, + const TDEShortcut & cut, const TQObject* receiver, const char* slot, TQObject* parent, const char * name ) -: KAction( text, pix, cut, receiver, slot, parent, name ) +: TDEAction( text, pix, cut, receiver, slot, parent, name ) { } AutoToolsAction::AutoToolsAction( TQObject * parent, const char * name ) -: KAction( parent, name ) +: TDEAction( parent, name ) { } int AutoToolsAction::plug( TQWidget* w, int index ) { if ( !w ) { - kdWarning(129) << "KAction::plug called with 0 argument\n"; + kdWarning(129) << "TDEAction::plug called with 0 argument\n"; return -1; } // Check if action is permitted - if (kapp && !kapp->authorizeKAction(name())) + if (kapp && !kapp->authorizeTDEAction(name())) return -1; if ( ::tqqt_cast<TQToolButton*>( w ) ) @@ -138,7 +138,7 @@ int AutoToolsAction::plug( TQWidget* w, int index ) return containerCount() - 1; } - return KAction::plug( w, index ); + return TDEAction::plug( w, index ); } void AutoToolsAction::updateEnabled( int i ) @@ -148,7 +148,7 @@ void AutoToolsAction::updateEnabled( int i ) if ( ::tqqt_cast<TQToolButton*>( w ) ) static_cast<TQToolButton*>( w )->setEnabled( isEnabled() ); else - KAction::updateEnabled( i ) ; + TDEAction::updateEnabled( i ) ; } diff --git a/buildtools/autotools/autotoolsaction.h b/buildtools/autotools/autotoolsaction.h index 013bf006..2d397359 100644 --- a/buildtools/autotools/autotoolsaction.h +++ b/buildtools/autotools/autotoolsaction.h @@ -18,44 +18,44 @@ #include <kaction.h> class TQObject; -class KActionCollection; +class TDEActionCollection; /** - * A KAction derivative that will work with the TQToolButtons used in + * A TDEAction derivative that will work with the TQToolButtons used in * the Automake Manager * @author Matt Rogers */ -class AutoToolsAction : public KAction +class AutoToolsAction : public TDEAction { public: virtual ~AutoToolsAction(); - AutoToolsAction( const TQString& text, const KShortcut& cut, + AutoToolsAction( const TQString& text, const TDEShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ); + TDEActionCollection* parent, const char* name ); - AutoToolsAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, + AutoToolsAction( const TQString& text, const TQIconSet& pix, const TDEShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ); + TDEActionCollection* parent, const char* name ); - AutoToolsAction( const TQString& text, const TQString& pix, const KShortcut& cut, + AutoToolsAction( const TQString& text, const TQString& pix, const TDEShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ); + TDEActionCollection* parent, const char* name ); - AutoToolsAction( const KGuiItem& item, const KShortcut& cut, + AutoToolsAction( const KGuiItem& item, const TDEShortcut& cut, const TQObject* receiver, const char* slot, - KActionCollection* parent, const char* name ); + TDEActionCollection* parent, const char* name ); - AutoToolsAction( const TQString& text, const KShortcut& cut = KShortcut(), TQObject* parent = 0, const char* name = 0 ); - AutoToolsAction( const TQString& text, const KShortcut& cut, + AutoToolsAction( const TQString& text, const TDEShortcut& cut = TDEShortcut(), TQObject* parent = 0, const char* name = 0 ); + AutoToolsAction( const TQString& text, const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 ); - AutoToolsAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut = KShortcut(), + AutoToolsAction( const TQString& text, const TQIconSet& pix, const TDEShortcut& cut = TDEShortcut(), TQObject* parent = 0, const char* name = 0 ); - AutoToolsAction( const TQString& text, const TQString& pix, const KShortcut& cut = KShortcut(), + AutoToolsAction( const TQString& text, const TQString& pix, const TDEShortcut& cut = TDEShortcut(), TQObject* parent = 0, const char* name = 0 ); - AutoToolsAction( const TQString& text, const TQIconSet& pix, const KShortcut& cut, + AutoToolsAction( const TQString& text, const TQIconSet& pix, const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 ); - AutoToolsAction( const TQString& text, const TQString& pix, const KShortcut& cut, + AutoToolsAction( const TQString& text, const TQString& pix, const TDEShortcut& cut, const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 ); AutoToolsAction( TQObject* parent = 0, const char* name = 0 ); diff --git a/buildtools/autotools/choosetargetdlgbase.ui b/buildtools/autotools/choosetargetdlgbase.ui index d6a04658..3cd16825 100644 --- a/buildtools/autotools/choosetargetdlgbase.ui +++ b/buildtools/autotools/choosetargetdlgbase.ui @@ -143,7 +143,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="KListView"> + <widget class="TDEListView"> <property name="name"> <cstring>newFileList</cstring> </property> diff --git a/buildtools/autotools/removetargetdlgbase.ui b/buildtools/autotools/removetargetdlgbase.ui index 514bdbaa..57b947a6 100644 --- a/buildtools/autotools/removetargetdlgbase.ui +++ b/buildtools/autotools/removetargetdlgbase.ui @@ -162,7 +162,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="KListBox" row="0" column="0"> + <widget class="TDEListBox" row="0" column="0"> <property name="name"> <cstring>dependencyListBox</cstring> </property> |