summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl/schema
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:37:21 -0600
commit86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch)
tree97d3ac2c2f60780d9a1de4f82caac7cb27534501 /kode/kwsdl/schema
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kode/kwsdl/schema')
-rw-r--r--kode/kwsdl/schema/fileprovider.cpp14
-rw-r--r--kode/kwsdl/schema/fileprovider.h6
2 files changed, 10 insertions, 10 deletions
diff --git a/kode/kwsdl/schema/fileprovider.cpp b/kode/kwsdl/schema/fileprovider.cpp
index 10c46381b..d12d4eee3 100644
--- a/kode/kwsdl/schema/fileprovider.cpp
+++ b/kode/kwsdl/schema/fileprovider.cpp
@@ -52,11 +52,11 @@ bool FileProvider::get( const TQString &url, TQString &target )
tqDebug( "Downloading external schema '%s'", url.latin1() );
- KIO::TransferJob* job = KIO::get( KURL( url ), false, false );
- connect( job, TQT_SIGNAL( data( KIO::Job*, const TQByteArray& ) ),
- this, TQT_SLOT( slotData( KIO::Job*, const TQByteArray& ) ) );
- connect( job, TQT_SIGNAL( result( KIO::Job* ) ),
- this, TQT_SLOT( slotResult( KIO::Job* ) ) );
+ TDEIO::TransferJob* job = TDEIO::get( KURL( url ), false, false );
+ connect( job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ),
+ this, TQT_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
+ this, TQT_SLOT( slotResult( TDEIO::Job* ) ) );
mBlocked = true;
while ( mBlocked ) {
@@ -73,14 +73,14 @@ void FileProvider::cleanUp()
mFileName = TQString();
}
-void FileProvider::slotData( KIO::Job*, const TQByteArray &data )
+void FileProvider::slotData( TDEIO::Job*, const TQByteArray &data )
{
unsigned int oldSize = mData.size();
mData.resize( oldSize + data.size() );
memcpy( mData.data() + oldSize, data.data(), data.size() );
}
-void FileProvider::slotResult( KIO::Job *job )
+void FileProvider::slotResult( TDEIO::Job *job )
{
if ( job->error() ) {
tqDebug( "%s", job->errorText().latin1() );
diff --git a/kode/kwsdl/schema/fileprovider.h b/kode/kwsdl/schema/fileprovider.h
index 679cd0a2b..c855416dc 100644
--- a/kode/kwsdl/schema/fileprovider.h
+++ b/kode/kwsdl/schema/fileprovider.h
@@ -24,7 +24,7 @@
#include <tqobject.h>
-namespace KIO {
+namespace TDEIO {
class Job;
}
@@ -42,8 +42,8 @@ class FileProvider : TQObject
void cleanUp();
private slots:
- void slotData( KIO::Job*, const TQByteArray& );
- void slotResult( KIO::Job* );
+ void slotData( TDEIO::Job*, const TQByteArray& );
+ void slotResult( TDEIO::Job* );
private:
TQString mFileName;