diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /vcs/subversion/integrator | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'vcs/subversion/integrator')
-rw-r--r-- | vcs/subversion/integrator/subversionintegrator.cpp | 8 | ||||
-rw-r--r-- | vcs/subversion/integrator/subversionintegrator.h | 8 | ||||
-rw-r--r-- | vcs/subversion/integrator/svnintegratordlg.cpp | 22 | ||||
-rw-r--r-- | vcs/subversion/integrator/svnintegratordlg.h | 10 |
4 files changed, 24 insertions, 24 deletions
diff --git a/vcs/subversion/integrator/subversionintegrator.cpp b/vcs/subversion/integrator/subversionintegrator.cpp index a620deaf..32d28d27 100644 --- a/vcs/subversion/integrator/subversionintegrator.cpp +++ b/vcs/subversion/integrator/subversionintegrator.cpp @@ -28,8 +28,8 @@ static const KDevPluginInfo data("kdevsubversionintegrator"); typedef KDevGenericFactory<SubversionIntegrator> SubversionIntegratorFactory; K_EXPORT_COMPONENT_FACTORY( libsubversionintegrator, SubversionIntegratorFactory(data) ) -SubversionIntegrator::SubversionIntegrator(QObject* parent, const char* name, - const QStringList // args +SubversionIntegrator::SubversionIntegrator(TQObject* parent, const char* name, + const TQStringList // args ) :KDevVCSIntegrator(parent, name) { @@ -39,13 +39,13 @@ SubversionIntegrator::~SubversionIntegrator() { } -VCSDialog* SubversionIntegrator::fetcher(QWidget* // parent +VCSDialog* SubversionIntegrator::fetcher(TQWidget* // parent ) { return 0; } -VCSDialog* SubversionIntegrator::integrator(QWidget* parent) +VCSDialog* SubversionIntegrator::integrator(TQWidget* parent) { SvnIntegratorDlg *dlg = new SvnIntegratorDlg(parent); return dlg; diff --git a/vcs/subversion/integrator/subversionintegrator.h b/vcs/subversion/integrator/subversionintegrator.h index 546bdc5c..e9b62d70 100644 --- a/vcs/subversion/integrator/subversionintegrator.h +++ b/vcs/subversion/integrator/subversionintegrator.h @@ -22,17 +22,17 @@ #include <kdevvcsintegrator.h> -#include <qstringlist.h> +#include <tqstringlist.h> class SubversionIntegrator : public KDevVCSIntegrator { Q_OBJECT public: - SubversionIntegrator(QObject* parent, const char* name, const QStringList args = QStringList()); + SubversionIntegrator(TQObject* parent, const char* name, const TQStringList args = TQStringList()); ~SubversionIntegrator(); - virtual VCSDialog* fetcher(QWidget* parent); - virtual VCSDialog* integrator(QWidget* parent); + virtual VCSDialog* fetcher(TQWidget* parent); + virtual VCSDialog* integrator(TQWidget* parent); }; diff --git a/vcs/subversion/integrator/svnintegratordlg.cpp b/vcs/subversion/integrator/svnintegratordlg.cpp index afed1d3e..05572278 100644 --- a/vcs/subversion/integrator/svnintegratordlg.cpp +++ b/vcs/subversion/integrator/svnintegratordlg.cpp @@ -26,7 +26,7 @@ #include <kio/job.h> #include <kurlrequester.h> #include <kdebug.h> -#include <qradiobutton.h> +#include <tqradiobutton.h> #include <kio/scheduler.h> #include <kprocess.h> #include <kdeversion.h> @@ -38,7 +38,7 @@ using namespace KIO; -SvnIntegratorDlg::SvnIntegratorDlg( QWidget *parent, const char *name ) +SvnIntegratorDlg::SvnIntegratorDlg( TQWidget *parent, const char *name ) : SvnIntegratorDlgBase( parent, name ) { repos1->setMode( KFile::Directory ); @@ -64,8 +64,8 @@ void SvnIntegratorDlg::accept() miscURL.setPath( servURL.path() + "/trunk/" ); list << miscURL; - QByteArray parms; - QDataStream s( parms, IO_WriteOnly ); + TQByteArray parms; + TQDataStream s( parms, IO_WriteOnly ); int cmd = 10; // MKDIR(list) s << cmd << list; KIO::SimpleJob* job = KIO::special( protocolUrl, parms, true ); @@ -74,8 +74,8 @@ void SvnIntegratorDlg::accept() return; } - QByteArray parms2; - QDataStream s2( parms2, IO_WriteOnly ); + TQByteArray parms2; + TQDataStream s2( parms2, IO_WriteOnly ); cmd = 5; //IMPORT servURL.setPath( servURL.path() + "/trunk/" ); s2 << cmd << servURL << KURL::fromPathOrURL( m_projectLocation ); @@ -94,12 +94,12 @@ void SvnIntegratorDlg::accept() delete rmproc; rmproc = NULL; - QByteArray parms3; - QDataStream s3( parms3, IO_WriteOnly ); + TQByteArray parms3; + TQDataStream s3( parms3, IO_WriteOnly ); int cmd2 = 1; //CHECKOUT int rev = -1; - s3 << cmd2 << servURL << KURL::fromPathOrURL( m_projectLocation ) << rev << QString( "HEAD" ); + s3 << cmd2 << servURL << KURL::fromPathOrURL( m_projectLocation ) << rev << TQString( "HEAD" ); SimpleJob *job2 = KIO::special( protocolUrl, parms3, true ); if( ! NetAccess::synchronousRun( job2, 0 ) ){ // Checkout failed @@ -108,13 +108,13 @@ void SvnIntegratorDlg::accept() } } -void SvnIntegratorDlg::init( const QString &projectName, const QString &projectLocation ) +void SvnIntegratorDlg::init( const TQString &projectName, const TQString &projectLocation ) { m_name = projectName; m_projectLocation = projectLocation; } -QWidget *SvnIntegratorDlg::self() +TQWidget *SvnIntegratorDlg::self() { return const_cast<SvnIntegratorDlg*>( this ); } diff --git a/vcs/subversion/integrator/svnintegratordlg.h b/vcs/subversion/integrator/svnintegratordlg.h index 96736023..f76cf95f 100644 --- a/vcs/subversion/integrator/svnintegratordlg.h +++ b/vcs/subversion/integrator/svnintegratordlg.h @@ -26,14 +26,14 @@ class SvnIntegratorDlg: public SvnIntegratorDlgBase, public VCSDialog { Q_OBJECT public: - SvnIntegratorDlg(QWidget *parent = 0, const char *name = 0); + SvnIntegratorDlg(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(); private: - QString m_name; - QString m_projectLocation; + TQString m_name; + TQString m_projectLocation; }; #endif |