Changeset View
Changeset View
Standalone View
Standalone View
src/platformtheme/main.cpp
Show All 24 Lines | |||||
25 | class KdePlatformThemePlugin : public QPlatformThemePlugin | 25 | class KdePlatformThemePlugin : public QPlatformThemePlugin | ||
26 | { | 26 | { | ||
27 | Q_OBJECT | 27 | Q_OBJECT | ||
28 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1" FILE "kdeplatformtheme.json") | 28 | Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1" FILE "kdeplatformtheme.json") | ||
29 | public: | 29 | public: | ||
30 | KdePlatformThemePlugin(QObject *parent = 0) | 30 | KdePlatformThemePlugin(QObject *parent = 0) | ||
31 | : QPlatformThemePlugin(parent) {} | 31 | : QPlatformThemePlugin(parent) {} | ||
32 | 32 | | |||
33 | QPlatformTheme *create(const QString &key, const QStringList ¶mList) Q_DECL_OVERRIDE | 33 | QPlatformTheme *create(const QString &key, const QStringList ¶mList) override | ||
34 | { | 34 | { | ||
35 | Q_UNUSED(key) | 35 | Q_UNUSED(key) | ||
36 | Q_UNUSED(paramList) | 36 | Q_UNUSED(paramList) | ||
37 | return new KdePlatformTheme; | 37 | return new KdePlatformTheme; | ||
38 | } | 38 | } | ||
39 | }; | 39 | }; | ||
40 | 40 | | |||
41 | #include "main.moc" | 41 | #include "main.moc" |