diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2016-11-29 12:57:53 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2016-12-02 12:18:20 +0000 |
commit | 0a37852dd814159d901791b9ea7f59a6dd21837c (patch) | |
tree | 861d676751013ac0427467840fafb6e9556e9241 /src/quicktemplates2/qquickabstractbutton_p_p.h | |
parent | 15fab6e8f81c7fd643f7c4e6a7979a2f66ec4060 (diff) |
Add AbstractButton::toggled() signal
[ChangeLog][Controls][AbstractButton] Added a toggled() signal that
is emitted whenever a checkable button is interactively toggled by
the user by using either touch, mouse, or keys.
Task-number: QTBUG-57203
Change-Id: If0b0d71d19cbed00f04d8a4309894a055c4254c6
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickabstractbutton_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickabstractbutton_p_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickabstractbutton_p_p.h b/src/quicktemplates2/qquickabstractbutton_p_p.h index 688ad804..aa9d98d5 100644 --- a/src/quicktemplates2/qquickabstractbutton_p_p.h +++ b/src/quicktemplates2/qquickabstractbutton_p_p.h @@ -78,6 +78,8 @@ public: QQuickAbstractButton *findCheckedButton() const; QList<QQuickAbstractButton *> findExclusiveButtons() const; + void toggle(bool value); + QString text; bool down; bool explicitDown; |