summaryrefslogtreecommitdiffstats
path: root/libkpimexchange/core/exchangeupload.cpp
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 /libkpimexchange/core/exchangeupload.cpp
parenta9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff)
downloadtdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz
tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'libkpimexchange/core/exchangeupload.cpp')
-rw-r--r--libkpimexchange/core/exchangeupload.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/libkpimexchange/core/exchangeupload.cpp b/libkpimexchange/core/exchangeupload.cpp
index d317976d0..e553b40c3 100644
--- a/libkpimexchange/core/exchangeupload.cpp
+++ b/libkpimexchange/core/exchangeupload.cpp
@@ -85,14 +85,14 @@ void ExchangeUpload::findUid( TQString const &uid )
kdDebug() << "Find uid query: " << endl << query << endl;
kdDebug() << "Looking for uid " << uid << endl;
- KIO::DavJob* job = KIO::davSearch( mAccount->calendarURL(), "DAV:", "sql",
+ TDEIO::DavJob* job = TDEIO::davSearch( mAccount->calendarURL(), "DAV:", "sql",
query, false );
job->setWindow( mWindow );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- TQT_SLOT( slotFindUidResult( KIO::Job * ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ TQT_SLOT( slotFindUidResult( TDEIO::Job * ) ) );
}
-void ExchangeUpload::slotFindUidResult( KIO::Job * job )
+void ExchangeUpload::slotFindUidResult( TDEIO::Job * job )
{
kdDebug() << "slotFindUidResult()" << endl;
@@ -104,7 +104,7 @@ void ExchangeUpload::slotFindUidResult( KIO::Job * job )
job->errorString() );
return;
}
- TQDomDocument &response = static_cast<KIO::DavJob *>( job )->response();
+ TQDomDocument &response = static_cast<TDEIO::DavJob *>( job )->response();
kdDebug() << "Search uid result: " << endl << response.toString() << endl;
@@ -144,19 +144,19 @@ void ExchangeUpload::tryExist()
addElement( doc, prop, "DAV:", "displayname" );
addElement( doc, prop, "urn:schemas:calendar", "uid" );
- KIO::DavJob *job = KIO::davPropFind( url, doc, "0", false );
+ TDEIO::DavJob *job = TDEIO::davPropFind( url, doc, "0", false );
job->setWindow( mWindow );
job->addMetaData( "errorPage", "false" );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- TQT_SLOT( slotPropFindResult( KIO::Job * ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ TQT_SLOT( slotPropFindResult( TDEIO::Job * ) ) );
}
-void ExchangeUpload::slotPropFindResult( KIO::Job *job )
+void ExchangeUpload::slotPropFindResult( TDEIO::Job *job )
{
kdDebug() << "slotPropFindResult()" << endl;
int error = job->error();
kdDebug() << "PROPFIND error: " << error << ":" << job->errorString() << endl;
- if ( error && error != KIO::ERR_DOES_NOT_EXIST ) {
+ if ( error && error != TDEIO::ERR_DOES_NOT_EXIST ) {
job->showErrorDialog( 0 );
emit finished( this, ExchangeClient::CommunicationError,
"IO Error: " + TQString::number(error) + ":" +
@@ -330,13 +330,13 @@ void ExchangeUpload::startUpload( const KURL &url )
kdDebug() << "Upload url: " << url << endl;
- KIO::DavJob *job = KIO::davPropPatch( url, doc, false );
+ TDEIO::DavJob *job = TDEIO::davPropPatch( url, doc, false );
job->setWindow( mWindow );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- TQT_SLOT( slotPatchResult( KIO::Job * ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ TQT_SLOT( slotPatchResult( TDEIO::Job * ) ) );
}
-void ExchangeUpload::slotPatchResult( KIO::Job *job )
+void ExchangeUpload::slotPatchResult( TDEIO::Job *job )
{
kdDebug() << "slotPropPatchResult()" << endl;
if ( job->error() ) {
@@ -347,7 +347,7 @@ void ExchangeUpload::slotPatchResult( KIO::Job *job )
job->errorString() );
return;
}
- TQDomDocument response = static_cast<KIO::DavJob *>( job )->response();
+ TQDomDocument response = static_cast<TDEIO::DavJob *>( job )->response();
kdDebug() << "Patch result: " << response.toString() << endl;
// Either we have a "201 Created" (if a new event has been created) or