From kde-commits Fri Jun 22 10:15:30 2007 From: Laurent Montel Date: Fri, 22 Jun 2007 10:15:30 +0000 To: kde-commits Subject: KDE/kdepim/kresources/kolab/shared Message-Id: <1182507330.089805.4095.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=118250737015089 SVN commit 678799 by mlaurent: Port++ M +1 -7 kolabbase.cpp M +0 -4 resourcekolabbase.cpp --- trunk/KDE/kdepim/kresources/kolab/shared/kolabbase.cpp #678798:678799 @@ -83,8 +83,6 @@ void KolabBase::setFields( const KABC::Addressee* addressee ) { -//TODO port it -#if 1 // An addressee does not have a creation date, so somehow we should // make one, if this is a new entry @@ -134,7 +132,6 @@ } // TODO: Attachments -#endif } void KolabBase::saveTo( KABC::Addressee* addressee ) const @@ -315,21 +312,18 @@ bool KolabBase::saveAttributes( QDomElement& element ) const { - //TODO port it -#if 0 writeString( element, "product-id", productID() ); writeString( element, "uid", uid() ); writeString( element, "body", body() ); writeString( element, "categories", categories() ); writeString( element, "creation-date", dateTimeToString( creationDate() ) ); writeString( element, "last-modification-date", - dateTimeToString( lastModified().toTimeZone( mTimeZone ).dateTime() ) ); + dateTimeToString( lastModified().toZone( mTimeZone ) ) ); writeString( element, "sensitivity", sensitivityToString( sensitivity() ) ); if ( hasPilotSyncId() ) writeString( element, "pilot-sync-id", QString::number( pilotSyncId() ) ); if ( hasPilotSyncStatus() ) writeString( element, "pilot-sync-status", QString::number( pilotSyncStatus() ) ); -#endif return true; } --- trunk/KDE/kdepim/kresources/kolab/shared/resourcekolabbase.cpp #678798:678799 @@ -57,10 +57,6 @@ QString uniqueObjId = "/Kolabresource_" +objId + QString::number( uniquifier++ ).toLatin1(); mConnection = new KMailConnection( this ); //Rename it to adaptor. //QDBusConnection::sessionBus().registerObject( uniqueObjId, this,QDBusConnection::ExportScriptableSlots|QDBusConnection::ExportScriptableSignals ); - // TODO port to DBUS! -#if 0 - mConnection = new KMailConnection( this, uniqueObjId ); -#endif } ResourceKolabBase::~ResourceKolabBase()