summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl/compiler.cpp')
-rw-r--r--kode/kwsdl/compiler.cpp22
1 files changed, 11 insertions, 11 deletions
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 <qapplication.h>
-#include <qfile.h>
+#include <tqapplication.h>
+#include <tqfile.h>
#include <schema/fileprovider.h>
@@ -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();