Commit e8aeab4e authored by Laurent Montel's avatar Laurent Montel 😁

const'ify pointer

parent 95858ccd
Pipeline #31911 passed with stage
in 21 minutes and 9 seconds
......@@ -727,7 +727,7 @@ public:
createLocalCollections();
}
CollectionSync *q;
CollectionSync *const q;
QString resourceId;
......
......@@ -37,7 +37,7 @@ public:
void doStart() override;
CollectionAttributesSynchronizationJob *q;
CollectionAttributesSynchronizationJob *const q;
AgentInstance instance;
Collection collection;
QDBusInterface *interface = nullptr;
......
......@@ -36,7 +36,7 @@ public:
void doStart() override;
ResourceSynchronizationJob *q;
ResourceSynchronizationJob *const q;
AgentInstance instance;
std::unique_ptr<org::freedesktop::Akonadi::Resource> interface;
QTimer safetyTimer;
......
......@@ -38,7 +38,7 @@ public:
void createRequestedFolders(ResourceScanJob *job, QHash<QByteArray, bool> &requestedFolders);
void collectionCreateResult(KJob *job); // slot
SpecialCollectionsRequestJob *q;
SpecialCollectionsRequestJob *const q;
SpecialCollections *mSpecialCollections = nullptr;
int mPendingCreateJobs;
......
......@@ -65,7 +65,7 @@ public:
AgentInstance defaultResource() const;
SpecialCollections *q;
SpecialCollections *const q;
KCoreConfigSkeleton *mSettings = nullptr;
QHash<QString, QHash<QByteArray, Collection> > mFoldersForResource;
bool mBatchMode;
......
......@@ -30,7 +30,7 @@ public:
}
void restoreDialogSize();
AgentConfigurationDialog *q;
AgentConfigurationDialog *const q;
QPushButton *okButton = nullptr;
QScopedPointer<AgentConfigurationWidget> widget;
};
......
......@@ -1556,7 +1556,7 @@ public:
}
}
StandardActionManager *q;
StandardActionManager *const q;
KActionCollection *actionCollection;
QWidget *parentWidget;
QItemSelectionModel *collectionSelectionModel;
......
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