Changeset View
Changeset View
Standalone View
Standalone View
resources/kolab/kolabresource.cpp
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
KolabResource::KolabResource(const QString& id) | KolabResource::KolabResource(const QString& id) | ||||
:ImapResource(id) | :ImapResource(id) | ||||
{ | { | ||||
//Load translations from imap resource | //Load translations from imap resource | ||||
KGlobal::locale()->insertCatalog(QLatin1String("akonadi_imap_resource")); | KGlobal::locale()->insertCatalog(QLatin1String("akonadi_imap_resource")); | ||||
//Ensure we have up-to date metadata before attempting to sync folder | //Ensure we have up-to date metadata before attempting to sync folder | ||||
setScheduleAttributeSyncBeforeItemSync(true); | setScheduleAttributeSyncBeforeItemSync(true); | ||||
setKeepLocalCollectionChanges(QSet<QByteArray>() << "ENTITYDISPLAY" << Akonadi::BlockAlarmsAttribute().type()); | setKeepLocalCollectionChanges(QSet<QByteArray>() << Akonadi::BlockAlarmsAttribute().type()); | ||||
} | } | ||||
KolabResource::~KolabResource() | KolabResource::~KolabResource() | ||||
{ | { | ||||
} | } | ||||
Settings *KolabResource::settings() const | Settings *KolabResource::settings() const | ||||
▲ Show 20 Lines • Show All 173 Lines • Show Last 20 Lines |