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/qplatformintegrationplugin.h | |
parent | d173da37eedf8229518da7998249c47f364566b4 (diff) | |
download | qtbase-0b69385e420d55995c73f8f490f02f4565088a23.tar.gz |
Remove the QFactoryInterface dependency from platform plugins
Change-Id: I4010e59dcd8a790e06bb9a0ccf3cc9a5c7737ed1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/kernel/qplatformintegrationplugin.h')
-rw-r--r-- | src/gui/kernel/qplatformintegrationplugin.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/kernel/qplatformintegrationplugin.h b/src/gui/kernel/qplatformintegrationplugin.h index 8b36a7dee2..8990668c60 100644 --- a/src/gui/kernel/qplatformintegrationplugin.h +++ b/src/gui/kernel/qplatformintegrationplugin.h @@ -61,24 +61,15 @@ QT_BEGIN_NAMESPACE class QPlatformIntegration; -struct QPlatformIntegrationFactoryInterface : public QFactoryInterface -{ - virtual QPlatformIntegration *create(const QString &key, const QStringList ¶mList) = 0; -}; - #define QPlatformIntegrationFactoryInterface_iid "org.qt-project.Qt.QPlatformIntegrationFactoryInterface" -Q_DECLARE_INTERFACE(QPlatformIntegrationFactoryInterface, QPlatformIntegrationFactoryInterface_iid) - -class Q_GUI_EXPORT QPlatformIntegrationPlugin : public QObject, public QPlatformIntegrationFactoryInterface +class Q_GUI_EXPORT QPlatformIntegrationPlugin : public QObject { Q_OBJECT - Q_INTERFACES(QPlatformIntegrationFactoryInterface:QFactoryInterface) public: explicit QPlatformIntegrationPlugin(QObject *parent = 0); ~QPlatformIntegrationPlugin(); - virtual QStringList keys() const = 0; virtual QPlatformIntegration *create(const QString &key, const QStringList ¶mList) = 0; }; |