From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kwsdl/compiler.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kode/kwsdl/compiler.cpp') diff --git a/kode/kwsdl/compiler.cpp b/kode/kwsdl/compiler.cpp index dbbe52b7e..9e4c86ab9 100644 --- a/kode/kwsdl/compiler.cpp +++ b/kode/kwsdl/compiler.cpp @@ -19,8 +19,8 @@ Boston, MA 02110-1301, USA. */ -#include -#include +#include +#include #include @@ -32,11 +32,11 @@ using namespace KWSDL; Compiler::Compiler() - : QObject( 0, "KWSDL::Compiler" ) + : TQObject( 0, "KWSDL::Compiler" ) { } -void Compiler::setWSDLUrl( const QString &wsdlUrl ) +void Compiler::setWSDLUrl( const TQString &wsdlUrl ) { mWSDLUrl = wsdlUrl; mWSDLBaseUrl = mWSDLUrl.left( mWSDLUrl.findRev( '/' ) ); @@ -44,7 +44,7 @@ void Compiler::setWSDLUrl( const QString &wsdlUrl ) mParser.setSchemaBaseUrl( mWSDLBaseUrl ); } -void Compiler::setOutputDirectory( const QString &outputDirectory ) +void Compiler::setOutputDirectory( const TQString &outputDirectory ) { mOutputDirectory = outputDirectory; @@ -52,7 +52,7 @@ void Compiler::setOutputDirectory( const QString &outputDirectory ) mOutputDirectory.append( "/" ); } -void Compiler::setNameSpace( const QString &nameSpace ) +void Compiler::setNameSpace( const TQString &nameSpace ) { mNameSpace = nameSpace; } @@ -66,18 +66,18 @@ void Compiler::download() { Schema::FileProvider provider; - QString fileName; + TQString fileName; if ( provider.get( mWSDLUrl, fileName ) ) { - QFile file( fileName ); + TQFile file( fileName ); if ( !file.open( IO_ReadOnly ) ) { qDebug( "Unable to download schema file %s", mWSDLUrl.latin1() ); provider.cleanUp(); return; } - QString errorMsg; + TQString errorMsg; int errorLine, errorCol; - QDomDocument doc; + TQDomDocument doc; if ( !doc.setContent( &file, true, &errorMsg, &errorLine, &errorCol ) ) { qDebug( "%s at (%d,%d)", errorMsg.latin1(), errorLine, errorCol ); return; @@ -89,7 +89,7 @@ void Compiler::download() } } -void Compiler::parse( const QDomElement &element ) +void Compiler::parse( const TQDomElement &element ) { mParser.parse( element ); create(); -- cgit v1.2.1