diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /libkpimexchange/core/exchangedelete.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
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() ) { |