diff options
Diffstat (limited to 'kode/kwsdl/converter.cpp')
-rw-r--r-- | kode/kwsdl/converter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kode/kwsdl/converter.cpp b/kode/kwsdl/converter.cpp index a858f5d46..253b6bd21 100644 --- a/kode/kwsdl/converter.cpp +++ b/kode/kwsdl/converter.cpp @@ -935,7 +935,7 @@ void Converter::createTransportClass() queryCode += "TQDataStream stream( postData, IO_WriteOnly );"; queryCode += "stream.writeRawBytes( xml.utf8(), xml.utf8().length() );"; queryCode.newLine(); - queryCode += "KIO::TransferJob* job = KIO::http_post( KURL( " + url.name() + " ), postData, false );"; + queryCode += "TDEIO::TransferJob* job = TDEIO::http_post( KURL( " + url.name() + " ), postData, false );"; queryCode += "if ( !job ) {"; queryCode.indent(); queryCode += "kdWarning() << \"Unable to create KIO job for \" << " + url.name() + " << endl;"; @@ -946,8 +946,8 @@ void Converter::createTransportClass() queryCode += "job->addMetaData( \"UserAgent\", \"KWSDL\" );"; queryCode += "job->addMetaData( \"content-type\", \"Content-Type: text/xml; charset=utf-8\" );"; queryCode.newLine(); - queryCode += "connect( job, TQT_SIGNAL( data( KIO::Job*, const TQByteArray& ) ), this, TQT_SLOT( slotData( KIO::Job*, const TQByteArray& ) ) );"; - queryCode += "connect( job, TQT_SIGNAL( result( KIO::Job* ) ), this, TQT_SLOT( slotResult( KIO::Job* ) ) );"; + queryCode += "connect( job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ), this, TQT_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) );"; + queryCode += "connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( slotResult( TDEIO::Job* ) ) );"; query.setBody( queryCode ); @@ -962,7 +962,7 @@ void Converter::createTransportClass() // data slot KODE::Function slotData( "slotData", "void", KODE::Function::Private | KODE::Function::Slot ); - slotData.addArgument( "KIO::Job*" ); + slotData.addArgument( "TDEIO::Job*" ); slotData.addArgument( "const TQByteArray &data" ); KODE::Code slotDataCode; @@ -976,7 +976,7 @@ void Converter::createTransportClass() // result slot KODE::Function slotResult( "slotResult", "void", KODE::Function::Private | KODE::Function::Slot ); - slotResult.addArgument( "KIO::Job* job" ); + slotResult.addArgument( "TDEIO::Job* job" ); KODE::Code slotResultCode; slotResultCode += "if ( job->error() != 0 ) {"; |