summaryrefslogtreecommitdiffstats
path: root/examples/sensors
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2012-02-10 10:50:14 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-12 23:26:15 +0100
commit3b030528fbc3d2d7681113dc6c2727d4cff7a07a (patch)
treeb4988a0bed2179e905af6934b62dc73f0a0a9d07 /examples/sensors
parent607f545c719486c4ebc1dd3ea227b268d70b8a16 (diff)
improve the sensors docs a bit
Change-Id: I2774c8ecc5ae711b6444d0adff0697c6d278dcad Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'examples/sensors')
-rw-r--r--examples/sensors/sensorgestures/mainwindow.h5
-rw-r--r--examples/sensors/sensors.pro2
-rw-r--r--examples/sensors/shakeit/shakeit.qdoc3
3 files changed, 8 insertions, 2 deletions
diff --git a/examples/sensors/sensorgestures/mainwindow.h b/examples/sensors/sensorgestures/mainwindow.h
index 18aa90bb..1e38f1be 100644
--- a/examples/sensors/sensorgestures/mainwindow.h
+++ b/examples/sensors/sensorgestures/mainwindow.h
@@ -43,7 +43,7 @@
#include <QtWidgets/QMainWindow>
#include <qsensorgesture.h>
-
+QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
@@ -70,4 +70,7 @@ private slots:
void on_stopPushButton_clicked();
};
+
+QT_END_NAMESPACE
+
#endif // MAINWINDOW_H
diff --git a/examples/sensors/sensors.pro b/examples/sensors/sensors.pro
index f09991c1..a6e1636b 100644
--- a/examples/sensors/sensors.pro
+++ b/examples/sensors/sensors.pro
@@ -6,6 +6,6 @@ SUBDIRS += \
qmlsensorgestures \
sensor_explorer
-contains(QT_CONFIG,widgets):SUBDIRS += \
+!isEmpty(QT.widgets.name): SUBDIRS += \
sensorgestures
diff --git a/examples/sensors/shakeit/shakeit.qdoc b/examples/sensors/shakeit/shakeit.qdoc
index 34a712d8..409077d8 100644
--- a/examples/sensors/shakeit/shakeit.qdoc
+++ b/examples/sensors/shakeit/shakeit.qdoc
@@ -59,4 +59,7 @@
\snippet ../examples/sensors/shakeit/shakeit.qml 4
+ There are additional gestures to shake which are supported:
+ whip, twistRight, hover, cover, turnover and pickup.
+
*/