Commit e71b8fa6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer + const methods

parent f838ab3f
Pipeline #96413 canceled with stage
......@@ -36,7 +36,7 @@ Q_SIGNALS:
void reportPercent(int progress);
protected:
Akonadi::Item::List mItems;
const Akonadi::Item::List mItems;
Akonadi::Item::List mResultItems;
EwsClient &mClient;
QSet<QByteArray> mAddedFlags;
......
......@@ -21,7 +21,7 @@ public:
void start() override;
EwsId::List folders()
EwsId::List folders() const
{
return mFolders;
}
......
......@@ -29,7 +29,7 @@ private Q_SLOTS:
void tagWriteFinished(KJob *job);
private:
EwsTagStore *mTagStore = nullptr;
EwsTagStore *const mTagStore;
EwsClient &mClient;
const Akonadi::Collection &mRootCollection;
};
......
......@@ -35,7 +35,7 @@ private Q_SLOTS:
void getFolderRequestFinished(KJob *job);
private:
EwsTagStore *mTagStore = nullptr;
EwsTagStore *const mTagStore;
EwsClient &mClient;
const Akonadi::Collection &mRootCollection;
Akonadi::Tag::List mTags;
......
......@@ -27,7 +27,7 @@ private Q_SLOTS:
void updateFolderRequestFinished(KJob *job);
private:
EwsTagStore *mTagStore = nullptr;
EwsTagStore *const mTagStore;
EwsClient &mClient;
const Akonadi::Collection &mRootCollection;
};
......
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