Commit 3c0220f0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Not necessary to depend against akonadi

parent 2c352375
...@@ -79,11 +79,6 @@ void AggregationComboBox::writeStorageModelConfig(const QString &id, bool isPriv ...@@ -79,11 +79,6 @@ void AggregationComboBox::writeStorageModelConfig(const QString &id, bool isPriv
} }
} }
void AggregationComboBox::writeStorageModelConfig(const Akonadi::Collection &col, bool isPrivateSetting) const
{
writeStorageModelConfig(QString::number(col.id()), isPrivateSetting);
}
void AggregationComboBox::readStorageModelConfig(const QString &id, bool &isPrivateSetting) void AggregationComboBox::readStorageModelConfig(const QString &id, bool &isPrivateSetting)
{ {
if (Manager::instance()) { if (Manager::instance()) {
......
...@@ -53,7 +53,6 @@ public: ...@@ -53,7 +53,6 @@ public:
void writeDefaultConfig() const; void writeDefaultConfig() const;
void writeStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool isPrivateSetting) const; void writeStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool isPrivateSetting) const;
void writeStorageModelConfig(const Akonadi::Collection &col, bool isPrivateSetting) const;
void writeStorageModelConfig(const QString &id, bool isPrivateSetting) const; void writeStorageModelConfig(const QString &id, bool isPrivateSetting) const;
void readStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool &isPrivateSetting); void readStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool &isPrivateSetting);
......
...@@ -59,13 +59,6 @@ void ThemeComboBox::writeDefaultConfig() const ...@@ -59,13 +59,6 @@ void ThemeComboBox::writeDefaultConfig() const
} }
} }
void ThemeComboBox::writeStorageModelConfig(const Akonadi::Collection &col, bool isPrivateSetting) const
{
if (col.isValid()) {
writeStorageModelConfig(QString::number(col.id()), isPrivateSetting);
}
}
void ThemeComboBox::writeStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool isPrivateSetting) const void ThemeComboBox::writeStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool isPrivateSetting) const
{ {
writeStorageModelConfig(storageModel->id(), isPrivateSetting); writeStorageModelConfig(storageModel->id(), isPrivateSetting);
......
...@@ -54,7 +54,6 @@ public: ...@@ -54,7 +54,6 @@ public:
void writeDefaultConfig() const; void writeDefaultConfig() const;
void writeStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool isPrivateSetting) const; void writeStorageModelConfig(MessageList::Core::StorageModel *storageModel, bool isPrivateSetting) const;
void writeStorageModelConfig(const Akonadi::Collection &col, bool isPrivateSetting) const;
void writeStorageModelConfig(const QString &id, bool isPrivateSetting)const; void writeStorageModelConfig(const QString &id, bool isPrivateSetting)const;
void readStorageModelConfig(const Akonadi::Collection &col, bool &isPrivateSetting); void readStorageModelConfig(const Akonadi::Collection &col, bool &isPrivateSetting);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment