diff options
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 ); } |