From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- vcs/perforce/integrator/perforceintegrator.cpp | 8 ++++---- vcs/perforce/integrator/perforceintegrator.h | 8 ++++---- vcs/perforce/integrator/pfintegratordlg.cpp | 6 +++--- vcs/perforce/integrator/pfintegratordlg.h | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) (limited to 'vcs/perforce/integrator') diff --git a/vcs/perforce/integrator/perforceintegrator.cpp b/vcs/perforce/integrator/perforceintegrator.cpp index 74964edb..bc7c0988 100644 --- a/vcs/perforce/integrator/perforceintegrator.cpp +++ b/vcs/perforce/integrator/perforceintegrator.cpp @@ -28,8 +28,8 @@ static const KDevPluginInfo data("kdevperforceintegrator"); typedef KDevGenericFactory PerforceIntegratorFactory; K_EXPORT_COMPONENT_FACTORY( libperforceintegrator, PerforceIntegratorFactory(data) ) -PerforceIntegrator::PerforceIntegrator(QObject* parent, const char* name, - const QStringList // args +PerforceIntegrator::PerforceIntegrator(TQObject* parent, const char* name, + const TQStringList // args ) :KDevVCSIntegrator(parent, name) { @@ -39,13 +39,13 @@ PerforceIntegrator::~PerforceIntegrator() { } -VCSDialog* PerforceIntegrator::fetcher(QWidget* // parent +VCSDialog* PerforceIntegrator::fetcher(TQWidget* // parent ) { return 0; } -VCSDialog* PerforceIntegrator::integrator(QWidget* parent) +VCSDialog* PerforceIntegrator::integrator(TQWidget* parent) { PFIntegratorDlg *dlg = new PFIntegratorDlg(parent); return dlg; diff --git a/vcs/perforce/integrator/perforceintegrator.h b/vcs/perforce/integrator/perforceintegrator.h index a47c7ee7..1d047826 100644 --- a/vcs/perforce/integrator/perforceintegrator.h +++ b/vcs/perforce/integrator/perforceintegrator.h @@ -22,17 +22,17 @@ #include -#include +#include class PerforceIntegrator : public KDevVCSIntegrator { Q_OBJECT public: - PerforceIntegrator(QObject* parent, const char* name, const QStringList args = QStringList()); + PerforceIntegrator(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~PerforceIntegrator(); - virtual VCSDialog* fetcher(QWidget* parent); - virtual VCSDialog* integrator(QWidget* parent); + virtual VCSDialog* fetcher(TQWidget* parent); + virtual VCSDialog* integrator(TQWidget* parent); }; diff --git a/vcs/perforce/integrator/pfintegratordlg.cpp b/vcs/perforce/integrator/pfintegratordlg.cpp index e93e8b3e..8685b2f4 100644 --- a/vcs/perforce/integrator/pfintegratordlg.cpp +++ b/vcs/perforce/integrator/pfintegratordlg.cpp @@ -19,7 +19,7 @@ ***************************************************************************/ #include "pfintegratordlg.h" -PFIntegratorDlg::PFIntegratorDlg(QWidget *parent, const char *name) +PFIntegratorDlg::PFIntegratorDlg(TQWidget *parent, const char *name) :PFIntegratorDlgBase(parent, name) { } @@ -28,11 +28,11 @@ void PFIntegratorDlg::accept() { } -void PFIntegratorDlg::init(const QString &/*projectName*/, const QString &/*projectLocation*/) +void PFIntegratorDlg::init(const TQString &/*projectName*/, const TQString &/*projectLocation*/) { } -QWidget *PFIntegratorDlg::self() +TQWidget *PFIntegratorDlg::self() { return const_cast(this); } diff --git a/vcs/perforce/integrator/pfintegratordlg.h b/vcs/perforce/integrator/pfintegratordlg.h index 2389c826..750795b6 100644 --- a/vcs/perforce/integrator/pfintegratordlg.h +++ b/vcs/perforce/integrator/pfintegratordlg.h @@ -26,11 +26,11 @@ class PFIntegratorDlg: public PFIntegratorDlgBase, public VCSDialog { Q_OBJECT public: - PFIntegratorDlg(QWidget *parent = 0, const char *name = 0); + PFIntegratorDlg(TQWidget *parent = 0, const char *name = 0); virtual void accept(); - virtual void init(const QString &projectName, const QString &projectLocation); - virtual QWidget *self(); + virtual void init(const TQString &projectName, const TQString &projectLocation); + virtual TQWidget *self(); }; #endif -- cgit v1.2.3