diff options
Diffstat (limited to 'libkpimexchange/core/exchangedelete.cpp')
-rw-r--r-- | libkpimexchange/core/exchangedelete.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libkpimexchange/core/exchangedelete.cpp b/libkpimexchange/core/exchangedelete.cpp index eecfbd7f3..b23e9527e 100644 --- a/libkpimexchange/core/exchangedelete.cpp +++ b/libkpimexchange/core/exchangedelete.cpp @@ -72,19 +72,19 @@ void ExchangeDelete::findUidSingleMaster( TQString const& uid ) " AND (\"urn:schemas:calendar:instancetype\" = 0\r\n" " OR \"urn:schemas:calendar:instancetype\" = 1)\r\n"; - KIO::DavJob* job = KIO::davSearch( mAccount->calendarURL(), "DAV:", "sql", query, false ); + TDEIO::DavJob* job = TDEIO::davSearch( mAccount->calendarURL(), "DAV:", "sql", query, false ); job->setWindow( mWindow ); - connect(job, TQT_SIGNAL(result( KIO::Job * )), this, TQT_SLOT(slotFindUidResult(KIO::Job *))); + connect(job, TQT_SIGNAL(result( TDEIO::Job * )), this, TQT_SLOT(slotFindUidResult(TDEIO::Job *))); } -void ExchangeDelete::slotFindUidResult( KIO::Job * job ) +void ExchangeDelete::slotFindUidResult( TDEIO::Job * job ) { if ( job->error() ) { job->showErrorDialog( 0L ); emit finished( this, ExchangeClient::CommunicationError, "IO Error: " + TQString::number(job->error()) + ":" + job->errorString() ); return; } - TQDomDocument& response = static_cast<KIO::DavJob *>( job )->response(); + TQDomDocument& response = static_cast<TDEIO::DavJob *>( job )->response(); TQDomElement item = response.documentElement().firstChild().toElement(); TQDomElement hrefElement = item.namedItem( "href" ).toElement(); @@ -102,12 +102,12 @@ void ExchangeDelete::slotFindUidResult( KIO::Job * job ) void ExchangeDelete::startDelete( const KURL& url ) { - KIO::SimpleJob* job = KIO::file_delete( url, false ); // no GUI + TDEIO::SimpleJob* job = TDEIO::file_delete( url, false ); // no GUI job->setWindow( mWindow ); - connect( job, TQT_SIGNAL( result( KIO::Job * ) ), this, TQT_SLOT( slotDeleteResult( KIO::Job * ) ) ); + connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( slotDeleteResult( TDEIO::Job * ) ) ); } -void ExchangeDelete::slotDeleteResult( KIO::Job* job ) +void ExchangeDelete::slotDeleteResult( TDEIO::Job* job ) { kdDebug() << "Finished Delete" << endl; if ( job->error() ) { |