summaryrefslogtreecommitdiffstats
path: root/libkpimexchange/core/exchangeaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkpimexchange/core/exchangeaccount.cpp')
-rw-r--r--libkpimexchange/core/exchangeaccount.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkpimexchange/core/exchangeaccount.cpp b/libkpimexchange/core/exchangeaccount.cpp
index 0f15b1005..7b67a5529 100644
--- a/libkpimexchange/core/exchangeaccount.cpp
+++ b/libkpimexchange/core/exchangeaccount.cpp
@@ -179,7 +179,7 @@ bool ExchangeAccount::authenticate( int windowId )
kdDebug() << "Authenticating to base URL: " << baseURL().prettyURL() << endl;
- KIO::AuthInfo info;
+ TDEIO::AuthInfo info;
info.url = baseURL();
info.username = mAccount;
info.password = mPassword;
@@ -194,7 +194,7 @@ bool ExchangeAccount::authenticate( int windowId )
stream << info << windowId;
dcopClient->send( "kded", "kpasswdserver",
- "addAuthInfo(KIO::AuthInfo, long int)", params );
+ "addAuthInfo(TDEIO::AuthInfo, long int)", params );
dcopClient->detach();
delete dcopClient;
@@ -237,13 +237,13 @@ void ExchangeAccount::calcFolderURLs()
mError = false;
- KIO::DavJob* job = KIO::davPropFind( baseURL(), doc, "1", false );
+ TDEIO::DavJob* job = TDEIO::davPropFind( baseURL(), doc, "1", false );
job->addMetaData( "errorPage", "false" );
- connect( job, TQT_SIGNAL( result( KIO::Job * ) ),
- TQT_SLOT( slotFolderResult( KIO::Job * ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
+ TQT_SLOT( slotFolderResult( TDEIO::Job * ) ) );
}
-void ExchangeAccount::slotFolderResult( KIO::Job *job )
+void ExchangeAccount::slotFolderResult( TDEIO::Job *job )
{
kdDebug() << "ExchangeAccount::slotFolderResult()" << endl;
if ( job->error() ) {
@@ -254,7 +254,7 @@ void ExchangeAccount::slotFolderResult( KIO::Job *job )
mError = true;
return;
}
- TQDomDocument &response = static_cast<KIO::DavJob *>( job )->response();
+ TQDomDocument &response = static_cast<TDEIO::DavJob *>( job )->response();
TQDomElement prop = response.documentElement().namedItem( "response" )
.namedItem( "propstat" ).namedItem( "prop" ).toElement();
@@ -297,14 +297,14 @@ TQString ExchangeAccount::tryMailbox( const TQString &_url, const TQString &user
url.setPass( password );
TQString tmpFile;
- if ( !KIO::NetAccess::download( url, tmpFile, 0 ) ) {
+ if ( !TDEIO::NetAccess::download( url, tmpFile, 0 ) ) {
kdWarning() << "Trying to find mailbox failed: not able to download " << url.prettyURL() << endl;
return TQString();
}
TQFile file( tmpFile );
if ( !file.open( IO_ReadOnly ) ) {
kdWarning() << "Trying to find mailbox failed: not able to open temp file " << tmpFile << endl;
- KIO::NetAccess::removeTempFile( tmpFile );
+ TDEIO::NetAccess::removeTempFile( tmpFile );
return TQString();
}
@@ -332,7 +332,7 @@ TQString ExchangeAccount::tryMailbox( const TQString &_url, const TQString &user
}
file.close();
- KIO::NetAccess::removeTempFile( tmpFile );
+ TDEIO::NetAccess::removeTempFile( tmpFile );
return result;
}