summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Keller <rainer.keller@nokia.com>2011-07-14 14:49:19 +0200
committerRainer Keller <rainer.keller@nokia.com>2011-08-17 10:11:38 +0200
commitf1cc6e767f6fd44eb3f20c43e760768083a93b0c (patch)
treeea4968bf2c39e2521b455a48b0342c22381ef5eb
parentbd5f4a413e196fa1a64d140b3beb3f58520171fb (diff)
Add script interface documentation for touch and camera
-rw-r--r--doc/config/simulator-project.qdocconf7
-rw-r--r--doc/simulator.qdoc2
-rw-r--r--src/other/widgetmanager.cpp5
3 files changed, 13 insertions, 1 deletions
diff --git a/doc/config/simulator-project.qdocconf b/doc/config/simulator-project.qdocconf
index a5b0e37..bc03291 100644
--- a/doc/config/simulator-project.qdocconf
+++ b/doc/config/simulator-project.qdocconf
@@ -10,13 +10,18 @@ headers = \
$$SRCDIR/../src/ui/systeminfostorageui.h \
$$SRCDIR/../src/ui/systeminfonetworkui.h \
$$SRCDIR/../src/ui/viewui.h \
+ $$SRCDIR/../src/ui/cameraui.h \
+ $$SRCDIR/../src/other/widgetmanager.h \
$$SIMULATOR_DEPENDENCY_PATH/include/remotecontrolwidget/locationui.h
sources = \
$$SRCDIR/../src/ui/sensorsui.cpp \
$$SRCDIR/../src/ui/systeminfogenericui.cpp \
$$SRCDIR/../src/ui/systeminfostorageui.cpp \
$$SRCDIR/../src/ui/systeminfonetworkui.cpp \
- $$SRCDIR/../src/ui/viewui.cpp
+ $$SRCDIR/../src/ui/viewui.cpp \
+ $$SRCDIR/../src/ui/cameraui.cpp \
+ $$SRCDIR/../src/other/widgetmanager.cpp \
+
headerdirs =
sourcedirs = $SRCDIR
imagedirs = $SRCDIR/images $SRCDIR/templates/images
diff --git a/doc/simulator.qdoc b/doc/simulator.qdoc
index c108e0e..e10586a 100644
--- a/doc/simulator.qdoc
+++ b/doc/simulator.qdoc
@@ -846,6 +846,8 @@
\o sysinfo.generic: \l{GenericSystemInfoScriptInterface}
\o sysinfo.network: \l{NetworkSystemInfoScriptInterface}
\o sysinfo.storage: \l{StorageSystemInfoScriptInterface}
+ \o camera: \l{CameraScriptInterface}
+ \o touch: \l{TouchScriptInterface}
\endlist
*/
diff --git a/src/other/widgetmanager.cpp b/src/other/widgetmanager.cpp
index c1176cf..37369f9 100644
--- a/src/other/widgetmanager.cpp
+++ b/src/other/widgetmanager.cpp
@@ -711,6 +711,11 @@ void WidgetManager::setMouseInputMode(MultiPointTouchUi::InputMode newMode)
w->setMouseInputMode(newMode);
}
+/*!
+ \class TouchScriptInterface
+ \brief Exposed as touch
+*/
+
TouchScriptInterface::TouchScriptInterface(WidgetManager *wm)
: QObject(wm)
, mWidgetManager(wm)