From d95c5fee483816558246586c4621d96c84b224c0 Mon Sep 17 00:00:00 2001 From: Lorn Potter Date: Fri, 11 Nov 2011 10:46:31 +1000 Subject: remove qmobilitypluginsearch and use the QFactoryLoader instead. Change-Id: Ifdd2031d309a5ac4cbeedc5d7cdb6ba9cbb845c3 Reviewed-by: Lincoln Ramsay Sanity-Review: Lincoln Ramsay --- examples/sensors/qmlsensorgestures/plugin/qcountergestureplugin.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/sensors/qmlsensorgestures') diff --git a/examples/sensors/qmlsensorgestures/plugin/qcountergestureplugin.h b/examples/sensors/qmlsensorgestures/plugin/qcountergestureplugin.h index 33075f43..842afeee 100644 --- a/examples/sensors/qmlsensorgestures/plugin/qcountergestureplugin.h +++ b/examples/sensors/qmlsensorgestures/plugin/qcountergestureplugin.h @@ -46,10 +46,11 @@ #include -class QCounterGesturePlugin : public QObject, QSensorGesturePluginInterface +class QCounterGesturePlugin : public QObject, public QSensorGesturePluginInterface { Q_OBJECT - Q_INTERFACES(QSensorGesturePluginInterface) + Q_INTERFACES(QSensorGesturePluginInterface:QFactoryInterface) + public: explicit QCounterGesturePlugin(); ~QCounterGesturePlugin(); -- cgit v1.2.3