summaryrefslogtreecommitdiffstats
path: root/src/Runtime
diff options
context:
space:
mode:
authorJari Karppinen <jari.karppinen@qt.io>2019-05-31 14:20:16 +0300
committerJari Karppinen <jari.karppinen@qt.io>2019-06-04 11:16:50 +0300
commit403b3a82be8edb928d227b240436d272d863b0d7 (patch)
treeb8dd11e2f99b5c1f4543d98cb46e88d02c6d2264 /src/Runtime
parent93431697f370924c31f850e7690dbb6078ffd6b5 (diff)
Add missing documentation to Q3DSPresentation
Task-number: QT3DS-3558 Task-number: QT3DS-3559 Change-Id: I52ddabe958d0470fa384cefdef20473115dcd21e Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime')
-rw-r--r--src/Runtime/ogl-runtime/src/api/studio3d/q3dspresentation.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/Runtime/ogl-runtime/src/api/studio3d/q3dspresentation.cpp b/src/Runtime/ogl-runtime/src/api/studio3d/q3dspresentation.cpp
index 3937a335..f6de2fd8 100644
--- a/src/Runtime/ogl-runtime/src/api/studio3d/q3dspresentation.cpp
+++ b/src/Runtime/ogl-runtime/src/api/studio3d/q3dspresentation.cpp
@@ -638,11 +638,9 @@ void Q3DSPresentation::setAttribute(const QString &elementPath, const QString &a
}
}
-// #TODO: QT3DS-3558
/*!
- \brief Q3DSPresentation::setPresentationActive
- \param id
- \param active
+ Activate or deactivate the presentation identified by \a id depending
+ on the value of \a active.
*/
void Q3DSPresentation::setPresentationActive(const QString &id, bool active)
{
@@ -674,10 +672,9 @@ void Q3DSPresentation::fireEvent(const QString &elementPath, const QString &even
}
}
-// #TODO: QT3DS-3559
/*!
- \brief Q3DSPresentation::setGlobalAnimationTime
- \param milliseconds
+ Set global animation time to manual value specified by \a milliseconds
+ (if non-zero) or resume normal timer (if zero).
*/
void Q3DSPresentation::setGlobalAnimationTime(qint64 milliseconds)
{