diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-05-27 05:16:14 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-08 00:12:16 +0200 |
commit | 7715a2d0a55a8988162d32663c572cff7fbf64f6 (patch) | |
tree | fbc528f70bd32cadd0f2b4d4dfb2815ebc95de85 /src/platformsupport/inputcontext/qplatforminputcontextplugin_p.h | |
parent | cf9264bb6b48d0a75932a36e7be057f42fbf84ea (diff) |
Remove QFactoryInterface from the input plugins
Change-Id: Ia4a9dc5b4ef276dca39681848e531b4c9e4f64e2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformsupport/inputcontext/qplatforminputcontextplugin_p.h')
-rw-r--r-- | src/platformsupport/inputcontext/qplatforminputcontextplugin_p.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/platformsupport/inputcontext/qplatforminputcontextplugin_p.h b/src/platformsupport/inputcontext/qplatforminputcontextplugin_p.h index e9e419546b..e7b173ee94 100644 --- a/src/platformsupport/inputcontext/qplatforminputcontextplugin_p.h +++ b/src/platformsupport/inputcontext/qplatforminputcontextplugin_p.h @@ -63,24 +63,15 @@ QT_BEGIN_NAMESPACE class QPlatformInputContext; - struct QPlatformInputContextFactoryInterface : public QFactoryInterface -{ - virtual QPlatformInputContext *create(const QString &key, const QStringList ¶mList) = 0; -}; - #define QPlatformInputContextFactoryInterface_iid "org.qt-project.Qt.QPlatformInputContextFactoryInterface" -Q_DECLARE_INTERFACE(QPlatformInputContextFactoryInterface, QPlatformInputContextFactoryInterface_iid) - -class Q_PLATFORMSUPPORT_EXPORT QPlatformInputContextPlugin : public QObject, public QPlatformInputContextFactoryInterface +class Q_PLATFORMSUPPORT_EXPORT QPlatformInputContextPlugin : public QObject { Q_OBJECT - Q_INTERFACES(QPlatformInputContextFactoryInterface:QFactoryInterface) public: explicit QPlatformInputContextPlugin(QObject *parent = 0); ~QPlatformInputContextPlugin(); - virtual QStringList keys() const = 0; virtual QPlatformInputContext *create(const QString &key, const QStringList ¶mList) = 0; }; |