summaryrefslogtreecommitdiff
path: root/src/controls/qquickaction.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-19 03:03:20 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-11-19 03:03:20 +0100
commit89ee05e7ac4881cb9f315395664aff92b983354a (patch)
tree297d0e955d096423437e78c6cb74da8b1e783643 /src/controls/qquickaction.cpp
parent51d28fb6b3dd9f44b9e8c237e860b739e0bf28f3 (diff)
parent5d76ced033cf1b2a1466a1b1b2a3a4f1102fab3f (diff)
downloadqtquickcontrols-89ee05e7ac4881cb9f315395664aff92b983354a.tar.gz
Merge remote-tracking branch 'origin/5.14' into 5.15
Change-Id: I4c1a5d2aa625740a57325276098b82727b7925bd
Diffstat (limited to 'src/controls/qquickaction.cpp')
-rw-r--r--src/controls/qquickaction.cpp16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/controls/qquickaction.cpp b/src/controls/qquickaction.cpp
index 27fd3377..479bb7fb 100644
--- a/src/controls/qquickaction.cpp
+++ b/src/controls/qquickaction.cpp
@@ -169,28 +169,30 @@ QT_BEGIN_NAMESPACE
\endqml
*/
-/*! \qmlsignal Action::triggered(QObject *source)
+/*! \qmlsignal Action::triggered(QtObject source)
Emitted when either the menu item or its bound action have been activated. Includes
- the object that triggered the event if relevant (e.g. a Button or MenuItem).
+ the object (\a source) that triggered the event if relevant (e.g. a Button or MenuItem).
You shouldn't need to emit this signal, use \l trigger() instead.
The corresponding handler is \c onTriggered.
*/
-/*! \qmlmethod void Action::trigger(QObject *source)
+/*! \qmlmethod void Action::trigger(QtObject source)
- Will emit the \l triggered signal if the action is enabled. You may provide a source
- object if the Action would benefit from knowing the origin of the triggering (e.g.
- for analytics). Will also emit the \l toggled signal if it is checkable.
+ Will emit the \l triggered signal on \a source if the action is enabled. You may provide
+ a source object if the Action would benefit from knowing the origin of the triggering
+ (e.g. for analytics). Will also emit the \l toggled signal if it is checkable.
*/
/*! \qmlsignal Action::toggled(checked)
- Emitted whenever a action's \l checked property changes.
+ Emitted whenever an action's \a checked property changes.
This usually happens at the same time as \l triggered.
The corresponding handler is \c onToggled.
+
+ \sa checked
*/
QQuickAction1::QQuickAction1(QObject *parent)