From 86d8364ac704bdc8ad2dfcf52307d9626cfac567 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:37:21 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kresources/newexchange/exchangeglobals.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kresources/newexchange/exchangeglobals.cpp') diff --git a/kresources/newexchange/exchangeglobals.cpp b/kresources/newexchange/exchangeglobals.cpp index 5cb2eee77..f2d90cd6d 100644 --- a/kresources/newexchange/exchangeglobals.cpp +++ b/kresources/newexchange/exchangeglobals.cpp @@ -87,7 +87,7 @@ bool ExchangeGlobals::getFolderHasSubs( const TQDomNode &folderNode ) -KIO::Job *ExchangeGlobals::createListFoldersJob( const KURL &url ) +TDEIO::Job *ExchangeGlobals::createListFoldersJob( const KURL &url ) { TQDomDocument doc; TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propfind" ); @@ -97,11 +97,11 @@ KIO::Job *ExchangeGlobals::createListFoldersJob( const KURL &url ) WebdavHandler::addElement( doc, prop, "d:hassubs" ); kdDebug(7000) << "props: " << doc.toString() << endl; - return KIO::davPropFind( url, doc, "1", false ); + return TDEIO::davPropFind( url, doc, "1", false ); } -KIO::TransferJob *ExchangeGlobals::createListItemsJob( const KURL &url ) +TDEIO::TransferJob *ExchangeGlobals::createListItemsJob( const KURL &url ) { TQDomDocument doc; TQDomElement root = WebdavHandler::addDavElement( doc, doc, "d:propfind" ); @@ -109,11 +109,11 @@ KIO::TransferJob *ExchangeGlobals::createListItemsJob( const KURL &url ) WebdavHandler::addElement( doc, prop, "d:getetag" ); WebdavHandler::addElement( doc, prop, "d:contentclass" ); kdDebug(5800) << "props = "<< doc.toString() << endl; - return KIO::davPropFind( url, doc, "1", false ); + return TDEIO::davPropFind( url, doc, "1", false ); } -KIO::TransferJob *ExchangeGlobals::createDownloadJob( KPIM::GroupwareDataAdaptor *adaptor, +TDEIO::TransferJob *ExchangeGlobals::createDownloadJob( KPIM::GroupwareDataAdaptor *adaptor, const KURL &url, KPIM::FolderLister::ContentType ctype ) { kdDebug() << "ExchangeGlobals::createDownloadJob()" << endl; @@ -156,18 +156,18 @@ kdDebug() << "Person=" << KPIM::FolderLister::Contact << ", " kdDebug(7000) << "doc: " << doc.toString() << endl; KURL authURL = url; - KIO::DavJob *job = KIO::davPropFind( authURL, doc, "0", false ); + TDEIO::DavJob *job = TDEIO::davPropFind( authURL, doc, "0", false ); /* KURL httpurl( url ); TQString proto("http"); httpurl.setProtocol( proto ); - KIO::TransferJob *job = KIO::get(httpurl, false, false); + TDEIO::TransferJob *job = TDEIO::get(httpurl, false, false); job->addMetaData("customHTTPHeader", "Translate: f"); job->addMetaData("cache", "reload");*/ return job; } -KIO::Job *ExchangeGlobals::createRemoveJob( const KURL &uploadurl, +TDEIO::Job *ExchangeGlobals::createRemoveJob( const KURL &uploadurl, const KPIM::GroupwareUploadItem::List &deletedItems ) { TQStringList urls; @@ -182,7 +182,7 @@ KIO::Job *ExchangeGlobals::createRemoveJob( const KURL &uploadurl, urls << url.url(); kdDebug() << "Delete (Mod) : " << url.url() << endl; } - return KIO::del( urls, false, false ); + return TDEIO::del( urls, false, false ); } @@ -192,10 +192,10 @@ KIO::Job *ExchangeGlobals::createRemoveJob( const KURL &uploadurl, // it calls getContentType of the ExchangeGlobals class, instead of the one // from OGoGlobals!!!! bool ExchangeGlobals::interpretListItemsJob( KPIM::GroupwareDataAdaptor *adaptor, - KIO::Job *job, const TQString &/*jobData*/ ) + TDEIO::Job *job, const TQString &/*jobData*/ ) { kdDebug()<<"ExchangeGlobals::interpretListItemsJob"<(job); + TDEIO::DavJob *davjob = dynamic_cast(job); if ( !davjob ) { return false; @@ -237,9 +237,9 @@ kdDebug()<<"ExchangeGlobals::interpretListItemsJob"<(job); + TDEIO::DavJob *davjob = dynamic_cast(job); if ( !davjob || !adaptor ) return false; kdDebug() << "ExchangeGlobals::interpretCalendarDownloadItemsJob(): TQDomDocument=" @@ -261,9 +261,9 @@ kdDebug() << "ExchangeGlobals::interpretCalendarDownloadItemsJob(): TQDomDocumen bool ExchangeGlobals::interpretAddressBookDownloadItemsJob( - KABC::AddressBookAdaptor *adaptor, KIO::Job *job, const TQString &/*jobData*/ ) + KABC::AddressBookAdaptor *adaptor, TDEIO::Job *job, const TQString &/*jobData*/ ) { - KIO::DavJob *davjob = dynamic_cast(job); + TDEIO::DavJob *davjob = dynamic_cast(job); if ( !davjob || !adaptor ) return false; kdDebug() << "ExchangeGlobals::interpretAddressBookDownloadItemsJob(): TQDomDocument=" -- cgit v1.2.1