summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--src/animation/frontend/qabstractclipanimator.cpp2
-rw-r--r--src/input/frontend/qaxisaccumulator.cpp1
-rw-r--r--src/input/frontend/qmousedevice.cpp5
-rw-r--r--src/input/frontend/qphysicaldevicecreatedchange.cpp3
4 files changed, 10 insertions, 1 deletions
diff --git a/src/animation/frontend/qabstractclipanimator.cpp b/src/animation/frontend/qabstractclipanimator.cpp
index 9484aea44..3fe660599 100644
--- a/src/animation/frontend/qabstractclipanimator.cpp
+++ b/src/animation/frontend/qabstractclipanimator.cpp
@@ -148,7 +148,7 @@ QChannelMapper *QAbstractClipAnimator::channelMapper() const
}
/*!
- \qmlproperty int QAbstractClipAnimator::loops
+ \qmlproperty int AbstractClipAnimator::loops
This property holds the number of times the animation should play.
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);