Commit 678d610e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify pointer here too

parent d79f17b9
Pipeline #26560 passed with stage
in 42 minutes and 41 seconds
......@@ -58,7 +58,7 @@ public:
private:
QVector<PluginEditorInfo> mPluginList;
QVector<PimCommon::PluginUtilData> mPluginDataList;
PluginEditorManager *q;
PluginEditorManager *const q;
};
void PluginEditorManagerPrivate::initializePlugins()
......
......@@ -55,7 +55,7 @@ public:
PluginEditorCheckBeforeSend *pluginFromIdentifier(const QString &id);
private:
QVector<PimCommon::PluginUtilData> mPluginDataList;
PluginEditorCheckBeforeSendManager *q;
PluginEditorCheckBeforeSendManager *const q;
};
QString PluginEditorCheckBeforeSendManagerPrivate::configGroupName() const
......
......@@ -55,7 +55,7 @@ public:
PluginEditorConvertText *pluginFromIdentifier(const QString &id);
private:
QVector<PimCommon::PluginUtilData> mPluginDataList;
PluginEditorConvertTextManager *q;
PluginEditorConvertTextManager *const q;
};
QString PluginEditorConvertTextManagerPrivate::configGroupName() const
......
......@@ -56,7 +56,7 @@ public:
PimCommon::CustomToolsPlugin *pluginFromIdentifier(const QString &id);
private:
QVector<PimCommon::PluginUtilData> mPluginDataList;
PluginEditorGrammarManager *q;
PluginEditorGrammarManager *const q;
};
QString PluginEditorGrammarManagerPrivate::configGroupName() const
......
......@@ -55,7 +55,7 @@ public:
PluginEditorInit *pluginFromIdentifier(const QString &id);
private:
QVector<PimCommon::PluginUtilData> mPluginDataList;
PluginEditorInitManager *q;
PluginEditorInitManager *const q;
};
QString PluginEditorInitManagerPrivate::configGroupName() const
......
......@@ -14,7 +14,7 @@
#include <QApplication>
#include <QDesktopWidget>
namespace MessageComposer {
using namespace MessageComposer;
KWindowPositioner::KWindowPositioner(QWidget *master, QWidget *slave, Mode mode)
: QObject(master)
, mMaster(master)
......@@ -58,4 +58,3 @@ void KWindowPositioner::reposition()
mSlave->move(pos);
mSlave->raise();
}
}
......@@ -47,7 +47,7 @@ public:
private:
QVector<PimCommon::PluginUtilData> mPluginDataList;
QVector<HeaderStylePluginInfo> mPluginList;
HeaderStylePluginManager *q;
HeaderStylePluginManager *const q;
};
namespace {
......
......@@ -46,7 +46,7 @@ public:
private:
QVector<PimCommon::PluginUtilData> mPluginDataList;
QVector<ConfigureSettingsPluginInfo> mPluginList;
MessageViewerConfigureSettingsPluginManager *q;
MessageViewerConfigureSettingsPluginManager *const q;
};
namespace {
......
......@@ -28,7 +28,7 @@ public:
void handleMessages();
MarkMessageReadHandler *q;
MarkMessageReadHandler *const q;
Akonadi::Item mItemQueue;
QTimer mTimer;
};
......
......@@ -53,7 +53,7 @@ public:
private:
QVector<ViewerPluginInfo> mPluginList;
QVector<PimCommon::PluginUtilData> mPluginDataList;
ViewerPluginManager *q;
ViewerPluginManager *const q;
};
namespace {
......
......@@ -28,7 +28,7 @@ public:
void insert(const QString &mimeType, const Interface::BodyPartFormatter *formatter, int priority = 0);
void appendFormattersForType(const QString &mimeType, QVector<const Interface::BodyPartFormatter *> &formatters);
BodyPartFormatterFactory *q;
BodyPartFormatterFactory *const q;
struct FormatterInfo {
const Interface::BodyPartFormatter *formatter = nullptr;
int priority = 0;
......
......@@ -30,7 +30,7 @@ public:
WebEngineViewer::UpdateDataBaseInfo mInfoDataBase;
QString mFileName;
QFile mFile;
CreateDatabaseFileJob *q;
CreateDatabaseFileJob *const q;
};
void CreateDatabaseFileJobPrivate::createFileFromFullUpdate(const QVector<Addition> &additionList)
......
......@@ -33,7 +33,7 @@ public:
QFile mFile;
uchar *mData = nullptr;
QDateTime mMtime;
LocalDataBaseFile *q;
LocalDataBaseFile *const q;
bool mValid = false;
};
......
......@@ -25,7 +25,7 @@ public:
void createInterfaces(QWebEngineView *webEngine, KActionCollection *ac);
QVector<WebEngineViewer::NetworkPluginUrlInterceptorInterface *> mListInterface;
private:
NetworkUrlInterceptorManager *q;
NetworkUrlInterceptorManager *const q;
};
QList<QAction *> NetworkUrlInterceptorManagerPrivate::interceptorUrlActions(const WebEngineViewer::WebHitTestResult &result) const
......
......@@ -57,7 +57,7 @@ public:
private:
QVector<MailNetworkUrlInterceptorPluginInfo> mPluginList;
QVector<PimCommon::PluginUtilData> mPluginDataList;
NetworkUrlInterceptorPluginManager *q;
NetworkUrlInterceptorPluginManager *const q;
};
QString NetworkUrlInterceptorPluginManagerPrivate::configGroupName() const
......
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