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/svnintegratordlg.cpp | |
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/svnintegratordlg.cpp')
-rw-r--r-- | vcs/subversion/integrator/svnintegratordlg.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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 ); } |