summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensorgestures
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qsensorgestures')
-rw-r--r--tests/auto/qsensorgestures/plugins/test/qtestsensorgestureplugin_p.h5
-rw-r--r--tests/auto/qsensorgestures/plugins/test1/qtestsensorgestureplugindup.h3
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/auto/qsensorgestures/plugins/test/qtestsensorgestureplugin_p.h b/tests/auto/qsensorgestures/plugins/test/qtestsensorgestureplugin_p.h
index a87f6a0c..d37abd1d 100644
--- a/tests/auto/qsensorgestures/plugins/test/qtestsensorgestureplugin_p.h
+++ b/tests/auto/qsensorgestures/plugins/test/qtestsensorgestureplugin_p.h
@@ -45,10 +45,11 @@
#include <QObject>
#include <qsensorgestureplugininterface.h>
-class QTestSensorGesturePlugin : public QObject, QSensorGesturePluginInterface
+class QTestSensorGesturePlugin : public QObject, public QSensorGesturePluginInterface
{
Q_OBJECT
- Q_INTERFACES(QSensorGesturePluginInterface)
+ Q_INTERFACES(QSensorGesturePluginInterface:QFactoryInterface)
+
public:
explicit QTestSensorGesturePlugin();
~QTestSensorGesturePlugin();
diff --git a/tests/auto/qsensorgestures/plugins/test1/qtestsensorgestureplugindup.h b/tests/auto/qsensorgestures/plugins/test1/qtestsensorgestureplugindup.h
index b6c083bf..de96a222 100644
--- a/tests/auto/qsensorgestures/plugins/test1/qtestsensorgestureplugindup.h
+++ b/tests/auto/qsensorgestures/plugins/test1/qtestsensorgestureplugindup.h
@@ -48,7 +48,8 @@
class QTestSensorGestureDupPlugin : public QObject, public QSensorGesturePluginInterface
{
Q_OBJECT
- Q_INTERFACES(QSensorGesturePluginInterface)
+ Q_INTERFACES(QSensorGesturePluginInterface:QFactoryInterface)
+
public:
explicit QTestSensorGestureDupPlugin();
~QTestSensorGestureDupPlugin();