From 0b69385e420d55995c73f8f490f02f4565088a23 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sun, 27 May 2012 04:57:31 +0200 Subject: Remove the QFactoryInterface dependency from platform plugins Change-Id: I4010e59dcd8a790e06bb9a0ccf3cc9a5c7737ed1 Reviewed-by: Thiago Macieira --- src/gui/kernel/qplatformintegrationplugin.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/gui/kernel/qplatformintegrationplugin.h') 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; }; -- cgit v1.2.3