From f1cc6e767f6fd44eb3f20c43e760768083a93b0c Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Thu, 14 Jul 2011 14:49:19 +0200 Subject: Add script interface documentation for touch and camera --- doc/config/simulator-project.qdocconf | 7 ++++++- doc/simulator.qdoc | 2 ++ src/other/widgetmanager.cpp | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3