diff options
Diffstat (limited to 'kode/kwsdl/kung/loader.cpp')
-rw-r--r-- | kode/kwsdl/kung/loader.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kode/kwsdl/kung/loader.cpp b/kode/kwsdl/kung/loader.cpp index 1b13549fa..8b0281ac8 100644 --- a/kode/kwsdl/kung/loader.cpp +++ b/kode/kwsdl/kung/loader.cpp @@ -19,7 +19,7 @@ Boston, MA 02110-1301, USA. */ -#include <qfile.h> +#include <tqfile.h> #include <schema/fileprovider.h> @@ -28,11 +28,11 @@ #include "loader.h" Loader::Loader() - : QObject( 0, "KWSDL::Loader" ) + : TQObject( 0, "KWSDL::Loader" ) { } -void Loader::setWSDLUrl( const QString &wsdlUrl ) +void Loader::setWSDLUrl( const TQString &wsdlUrl ) { mWSDLUrl = wsdlUrl; mWSDLBaseUrl = mWSDLUrl.left( mWSDLUrl.findRev( '/' ) ); @@ -49,18 +49,18 @@ void Loader::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 wsdl 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; @@ -72,7 +72,7 @@ void Loader::download() } } -void Loader::parse( const QDomElement &element ) +void Loader::parse( const TQDomElement &element ) { mParser.parse( element ); execute(); |