diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-05-27 04:57:31 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-08 00:12:09 +0200 |
commit | 0b69385e420d55995c73f8f490f02f4565088a23 (patch) | |
tree | 95b122557a506ea707471bd9a145b4db90c9ff2d /src/gui/kernel/qplatformthemeplugin.h | |
parent | d173da37eedf8229518da7998249c47f364566b4 (diff) |
Remove the QFactoryInterface dependency from platform plugins
Change-Id: I4010e59dcd8a790e06bb9a0ccf3cc9a5c7737ed1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/kernel/qplatformthemeplugin.h')
-rw-r--r-- | src/gui/kernel/qplatformthemeplugin.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/gui/kernel/qplatformthemeplugin.h b/src/gui/kernel/qplatformthemeplugin.h index 970eb36f07..cc7bd768c9 100644 --- a/src/gui/kernel/qplatformthemeplugin.h +++ b/src/gui/kernel/qplatformthemeplugin.h @@ -58,27 +58,17 @@ QT_BEGIN_HEADER QT_BEGIN_NAMESPACE - class QPlatformTheme; -struct QPlatformThemeFactoryInterface : public QFactoryInterface -{ - virtual QPlatformTheme *create(const QString &key, const QStringList ¶mList) = 0; -}; - #define QPlatformThemeFactoryInterface_iid "org.qt-project.Qt.QPlatformThemeFactoryInterface" -Q_DECLARE_INTERFACE(QPlatformThemeFactoryInterface, QPlatformThemeFactoryInterface_iid) - -class Q_GUI_EXPORT QPlatformThemePlugin : public QObject, public QPlatformThemeFactoryInterface +class Q_GUI_EXPORT QPlatformThemePlugin : public QObject { Q_OBJECT - Q_INTERFACES(QPlatformThemeFactoryInterface:QFactoryInterface) public: explicit QPlatformThemePlugin(QObject *parent = 0); ~QPlatformThemePlugin(); - virtual QStringList keys() const = 0; virtual QPlatformTheme *create(const QString &key, const QStringList ¶mList) = 0; }; |