summaryrefslogtreecommitdiffstats
path: root/src/input/frontend
diff options
context:
space:
mode:
authorNico Vertriest <nico.vertriest@qt.io>2017-08-03 14:47:18 +0200
committerNico Vertriest <nico.vertriest@qt.io>2017-08-28 11:04:57 +0000
commit142cc363d7175c7cc9c7271154e12f7f23bfe514 (patch)
tree02c29c8295fc68f81ca59707b5773d47020c7e6f /src/input/frontend
parent595b4add0ce6f32bb8ffc56b3a59e6e5bf0b000a (diff)
Doc: add doc to undocumented methods/properties
Change-Id: I8967110b0237421299c2103f847a38e0526f9a6b Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/input/frontend')
-rw-r--r--src/input/frontend/qaxisaccumulator.cpp1
-rw-r--r--src/input/frontend/qmousedevice.cpp5
-rw-r--r--src/input/frontend/qphysicaldevicecreatedchange.cpp3
3 files changed, 9 insertions, 0 deletions
diff --git a/src/input/frontend/qaxisaccumulator.cpp b/src/input/frontend/qaxisaccumulator.cpp
index d656ad2de..0c156194b 100644
--- a/src/input/frontend/qaxisaccumulator.cpp
+++ b/src/input/frontend/qaxisaccumulator.cpp
@@ -190,6 +190,7 @@ QAxisAccumulator::SourceAxisType QAxisAccumulator::sourceAxisType() const
*/
/*!
+ \property Qt3DInput::QAxisAccumulator::value
Returns the accumulated (integrated) value.
*/
float QAxisAccumulator::value() const
diff --git a/src/input/frontend/qmousedevice.cpp b/src/input/frontend/qmousedevice.cpp
index b5123533f..4a78b3b21 100644
--- a/src/input/frontend/qmousedevice.cpp
+++ b/src/input/frontend/qmousedevice.cpp
@@ -183,6 +183,11 @@ int QMouseDevice::axisIdentifier(const QString &name) const
return -1;
}
+/*!
+ Returns the button identifier that corresponds with
+ the specified \a name. The possible return values are
+ documented in \l {Qt3DInput::}{QMouseEvent::Buttons}.
+*/
int QMouseDevice::buttonIdentifier(const QString &name) const
{
if (name == QLatin1String("Left"))
diff --git a/src/input/frontend/qphysicaldevicecreatedchange.cpp b/src/input/frontend/qphysicaldevicecreatedchange.cpp
index 51aa3449a..0abeea520 100644
--- a/src/input/frontend/qphysicaldevicecreatedchange.cpp
+++ b/src/input/frontend/qphysicaldevicecreatedchange.cpp
@@ -68,6 +68,9 @@ QPhysicalDeviceCreatedChangeBase::~QPhysicalDeviceCreatedChangeBase()
{
}
+/*!
+ Returns a list of node ids.
+*/
Qt3DCore::QNodeIdVector QPhysicalDeviceCreatedChangeBase::axisSettingIds() const
{
Q_D(const QPhysicalDeviceCreatedChangeBase);