[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kresources/kolab/shared
From: Laurent Montel <montel () kde ! org>
Date: 2007-06-22 10:15:30
Message-ID: 1182507330.089805.4095.nullmailer () svn ! kde ! org
[Download RAW message or body]
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()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic