Commit 440476fb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Const'ify pointer + remove unused forward declaration

parent 5fe8bfbc
Pipeline #31910 passed with stage
in 15 minutes and 50 seconds
......@@ -55,7 +55,7 @@ public:
void initializePluginList();
void loadPlugin(CustomToolsPluginInfo *item);
QVector<CustomToolsPluginInfo> mPluginList;
CustomToolsPluginManager *q;
CustomToolsPluginManager * const q;
};
void CustomToolsPluginManagerPrivate::initializePluginList()
......
......@@ -57,7 +57,7 @@ public:
GenericPlugin *pluginFromIdentifier(const QString &id);
private:
QVector<PluginUtilData> mPluginDataList;
GenericPluginManager *q;
GenericPluginManager *const q;
};
QString GenericPluginManagerPrivate::configGroupName() const
......
......@@ -17,7 +17,6 @@
#include "pimcommon_export.h"
class QListWidget;
//
//
......
......@@ -50,7 +50,7 @@ public:
QVector<AddressessLineEditPluginInfo> mPluginList;
bool initializePlugins();
private:
AddressessLineEditPluginManager *q;
AddressessLineEditPluginManager *const q;
};
bool AddressessLineEditPluginManagerPrivate::initializePlugins()
......
......@@ -442,7 +442,7 @@ public:
void slotUnselectAll();
void slotSelectionChanged();
LdapSearchDialog *q;
LdapSearchDialog *const q;
KGuiItem startSearchGuiItem;
KGuiItem stopSearchGuiItem;
int mNumHosts = 0;
......
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