diff options
Diffstat (limited to 'parts/vcsmanager/vcsmanagerpart.cpp')
-rw-r--r-- | parts/vcsmanager/vcsmanagerpart.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/parts/vcsmanager/vcsmanagerpart.cpp b/parts/vcsmanager/vcsmanagerpart.cpp index a13239a4..58ef9444 100644 --- a/parts/vcsmanager/vcsmanagerpart.cpp +++ b/parts/vcsmanager/vcsmanagerpart.cpp @@ -20,9 +20,9 @@ #include "vcsmanagerpart.h" -#include <qtimer.h> -#include <qpopupmenu.h> -#include <qwhatsthis.h> +#include <tqtimer.h> +#include <tqpopupmenu.h> +#include <tqwhatsthis.h> #include <klocale.h> #include <kaction.h> @@ -48,7 +48,7 @@ K_EXPORT_COMPONENT_FACTORY( libkdevvcsmanager, VCSManagerFactory( data ) ) #define GLOBALDOC_OPTIONS 1 #define PROJECTDOC_OPTIONS 2 -VCSManagerPart::VCSManagerPart(QObject *parent, const char *name, const QStringList &/*args*/) +VCSManagerPart::VCSManagerPart(TQObject *parent, const char *name, const TQStringList &/*args*/) : KDevPlugin(&data, parent, name ? name : "VCSManagerPart") { kdDebug() << " ********** VCSManagerPart::VCSManagerPart() ************** " << endl; @@ -58,10 +58,10 @@ VCSManagerPart::VCSManagerPart(QObject *parent, const char *name, const QStringL m_configProxy = new ConfigWidgetProxy(core()); m_configProxy->createProjectConfigPage(i18n("Version Control"), PROJECTDOC_OPTIONS, info()->icon()); - connect(m_configProxy, SIGNAL(insertConfigWidget(const KDialogBase*, QWidget*, unsigned int )), - this, SLOT(insertConfigWidget(const KDialogBase*, QWidget*, unsigned int))); + connect(m_configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )), + this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int))); - connect(core(), SIGNAL(projectOpened()), this, SLOT(projectOpened())); + connect(core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened())); } VCSManagerPart::~VCSManagerPart() @@ -69,14 +69,14 @@ VCSManagerPart::~VCSManagerPart() delete m_configProxy; } -void VCSManagerPart::insertConfigWidget(const KDialogBase *dlg, QWidget *page, unsigned int pageNo) +void VCSManagerPart::insertConfigWidget(const KDialogBase *dlg, TQWidget *page, unsigned int pageNo) { switch (pageNo) { case PROJECTDOC_OPTIONS: { VCSManagerProjectConfig *w = new VCSManagerProjectConfig(this, page, "project config"); - connect(dlg, SIGNAL(okClicked()), w, SLOT(accept())); + connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept())); break; } } @@ -91,11 +91,11 @@ void VCSManagerPart::loadVCSPlugin() { unloadVCSPlugin(); - QDomDocument & dom = *projectDom(); + TQDomDocument & dom = *projectDom(); m_vcsPluginName = DomUtil::readEntry( dom, "/general/versioncontrol" ).stripWhiteSpace(); if ( m_vcsPluginName.isEmpty() ) return; - QString constraint = QString( "DesktopEntryName=='%1'" ).arg( m_vcsPluginName ); + TQString constraint = TQString( "DesktopEntryName=='%1'" ).arg( m_vcsPluginName ); pluginController()->loadPlugin( "KDevelop/VersionControl", constraint ); } @@ -107,7 +107,7 @@ void VCSManagerPart::unloadVCSPlugin() } } -QString VCSManagerPart::vcsPlugin() +TQString VCSManagerPart::vcsPlugin() { return m_vcsPluginName; } |