diff options
Diffstat (limited to 'kresources/newexchange/exchangecalendaradaptor.cpp')
-rw-r--r-- | kresources/newexchange/exchangecalendaradaptor.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kresources/newexchange/exchangecalendaradaptor.cpp b/kresources/newexchange/exchangecalendaradaptor.cpp index 254eb4da1..ceec4412b 100644 --- a/kresources/newexchange/exchangecalendaradaptor.cpp +++ b/kresources/newexchange/exchangecalendaradaptor.cpp @@ -98,9 +98,9 @@ void ExchangeCalendarAdaptor::customAdaptUploadUrl( KURL &url ) /* Removing items: old version of the exchange resource: If the event is part of a sequence of recurring event, we need to delete the master! -void ExchangeDelete::findUidSingleMaster( QString const& uid ) +void ExchangeDelete::findUidSingleMaster( TQString const& uid ) { - QString query = + TQString query = "SELECT \"DAV:href\", \"urn:schemas:calendar:uid\"\r\n" "FROM Scope('shallow traversal of \"\"')\r\n" "WHERE \"urn:schemas:calendar:uid\" = '" + uid + "'\r\n" @@ -109,15 +109,15 @@ void ExchangeDelete::findUidSingleMaster( QString const& uid ) KIO::DavJob* job = KIO::davSearch( mAccount->calendarURL(), "DAV:", "sql", query, false ); job->setWindow( mWindow ); - connect(job, SIGNAL(result( KIO::Job * )), this, SLOT(slotFindUidResult(KIO::Job *))); + connect(job, TQT_SIGNAL(result( KIO::Job * )), this, TQT_SLOT(slotFindUidResult(KIO::Job *))); } */ -QString ExchangeCalendarAdaptor::defaultNewItemName( KPIM::GroupwareUploadItem *item ) { +TQString ExchangeCalendarAdaptor::defaultNewItemName( KPIM::GroupwareUploadItem *item ) { if ( item ) return item->uid()+".EML"; - else return QString::null; + else return TQString::null; } KPIM::GroupwareUploadItem *ExchangeCalendarAdaptor::newUploadItem( KCal::Incidence*it, @@ -126,19 +126,19 @@ KPIM::GroupwareUploadItem *ExchangeCalendarAdaptor::newUploadItem( KCal::Inciden return new ExchangeCalendarUploadItem( this, it, type ); } -bool ExchangeCalendarAdaptor::interpretUploadJob( KIO::Job *job, const QString &/*jobData*/ ) +bool ExchangeCalendarAdaptor::interpretUploadJob( KIO::Job *job, const TQString &/*jobData*/ ) { kdDebug(7000) << "ExchangeCalendarAdaptor::interpretUploadJob " << endl; KIO::DavJob *davjob = dynamic_cast<KIO::DavJob*>(job); bool error = job->error(); - const QString err = job->errorString(); + const TQString err = job->errorString(); if ( davjob ) { if ( error ) { emit itemUploadError( davjob->url(), err ); return false; } else { - QDomDocument doc( davjob->response() ); + TQDomDocument doc( davjob->response() ); // TODO: extract the href and the items that got a 404. If there's // something important among them, issue the "usual" not-all-settings-uploaded // warning to the user. @@ -153,20 +153,20 @@ bool ExchangeCalendarAdaptor::interpretUploadJob( KIO::Job *job, const QString & } } -bool ExchangeCalendarAdaptor::interpretUploadNewJob( KIO::Job *job, const QString &/*jobData*/ ) +bool ExchangeCalendarAdaptor::interpretUploadNewJob( KIO::Job *job, const TQString &/*jobData*/ ) { // TODO: How does the incidence mapper know the old/new ids??? kdDebug(7000) << "ExchangeCalendarAdaptor::interpretUploadNewJob " << endl; KIO::DavJob *davjob = dynamic_cast<KIO::DavJob*>(job); bool error = job->error(); - const QString err = job->errorString(); + const TQString err = job->errorString(); if ( davjob ) { if ( error ) { emit itemUploadNewError( idMapper()->localId( davjob->url().path() ), err ); return false; } else { - QDomDocument doc( davjob->response() ); + TQDomDocument doc( davjob->response() ); // TODO: extract the href and the items that got a 404. If there's // something important among them, issue the "usual" not-all-settings-uploaded // warning to the user. |