diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kode/kwsdl/kung/loader.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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(); |