diff options
author | Toby Tomkins <toby.tomkins@nokia.com> | 2011-11-28 10:32:58 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-28 02:35:34 +0100 |
commit | 2920db660ada35b590f230d4d7cd1f203e1f5246 (patch) | |
tree | c0f2b10797b5e80f920ef8f7db1edd4b9b0a8bdf /examples | |
parent | acbe469322d0ab4aac863192ca5bf6fe1feedaed (diff) | |
download | qtsensors-2920db660ada35b590f230d4d7cd1f203e1f5246.tar.gz |
Fixed QtSensors example namespace compilation.
Explicitly include QTimer.
Change-Id: I24667b038106854d39f83fad8cf11225b153df79
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sensors/grue/plugin/gruesensorimpl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/sensors/grue/plugin/gruesensorimpl.h b/examples/sensors/grue/plugin/gruesensorimpl.h index 87061f0..fa4938e 100644 --- a/examples/sensors/grue/plugin/gruesensorimpl.h +++ b/examples/sensors/grue/plugin/gruesensorimpl.h @@ -46,7 +46,9 @@ #include <qambientlightsensor.h> #include <QTime> +QT_BEGIN_NAMESPACE class QTimer; +QT_END_NAMESPACE class gruesensorimpl : public QSensorBackend { |