From 142cc363d7175c7cc9c7271154e12f7f23bfe514 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Thu, 3 Aug 2017 14:47:18 +0200 Subject: Doc: add doc to undocumented methods/properties Change-Id: I8967110b0237421299c2103f847a38e0526f9a6b Reviewed-by: Venugopal Shivashankar Reviewed-by: Laszlo Agocs --- src/animation/frontend/qabstractclipanimator.cpp | 2 +- src/input/frontend/qaxisaccumulator.cpp | 1 + src/input/frontend/qmousedevice.cpp | 5 +++++ src/input/frontend/qphysicaldevicecreatedchange.cpp | 3 +++ 4 files changed, 10 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3