|
|
|
|
@ -77,6 +77,14 @@ FolderCollection::FolderCollection(const Akonadi::Collection &col, bool writecon |
|
|
|
|
this, SLOT(slotIdentitiesChanged())); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
FolderCollection::~FolderCollection() |
|
|
|
|
{ |
|
|
|
|
//qCDebug(MAILCOMMON_LOG)<<" FolderCollection::~FolderCollection"<<this;
|
|
|
|
|
if (mWriteConfig) { |
|
|
|
|
writeConfig(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
MessageViewer::Viewer::DisplayFormatMessage FolderCollection::formatMessage() const |
|
|
|
|
{ |
|
|
|
|
return mFormatMessage; |
|
|
|
|
@ -87,14 +95,6 @@ void FolderCollection::setFormatMessage(MessageViewer::Viewer::DisplayFormatMess |
|
|
|
|
mFormatMessage = formatMessage; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
FolderCollection::~FolderCollection() |
|
|
|
|
{ |
|
|
|
|
//qCDebug(MAILCOMMON_LOG)<<" FolderCollection::~FolderCollection"<<this;
|
|
|
|
|
if (mWriteConfig) { |
|
|
|
|
writeConfig(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void FolderCollection::clearCache() |
|
|
|
|
{ |
|
|
|
|
QMutexLocker lock(&mapMutex); |
|
|
|
|
|