summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsensor/test_sensorplugin.cpp
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-03-14 15:59:49 +1000
committerQt by Nokia <qt-info@nokia.com>2012-03-16 08:02:10 +0100
commit1530ebcc019bf6c630e75ac3078586b70c6056e3 (patch)
tree4bb9cfc7f1be172dcc89b2c210434413debece57 /tests/auto/qsensor/test_sensorplugin.cpp
parentafefdd5df374d8cfeca4614f4d25397fa6c997fe (diff)
Remove REGISTER_STATIC_PLUGIN
This API was never particularly reliable. It is somewhat incompatible with the new-style Qt plugins. Change-Id: Iaaa0e6282404ce5477abcc8b905b14b1fb58644c Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'tests/auto/qsensor/test_sensorplugin.cpp')
-rw-r--r--tests/auto/qsensor/test_sensorplugin.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/auto/qsensor/test_sensorplugin.cpp b/tests/auto/qsensor/test_sensorplugin.cpp
index 6633bf8c..08d6cd3e 100644
--- a/tests/auto/qsensor/test_sensorplugin.cpp
+++ b/tests/auto/qsensor/test_sensorplugin.cpp
@@ -120,17 +120,4 @@ public:
REGISTER_STATIC_PLUGIN_V2(TestSensorPlugin)
-class LegacySensorPlugin : public QSensorPluginInterface
-{
-public:
- void registerSensors()
- {
- qWarning() << "Loaded the LegacySensorPlugin";
- }
- QStringList keys() const { return QStringList() << "legacy";}
-
-};
-
-REGISTER_STATIC_PLUGIN(LegacySensorPlugin)
-
#include "test_sensorplugin.moc"