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/imports | |
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/imports')
-rw-r--r-- | src/imports/templates/qtquicktemplates2plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index ef6787f4..203cba30 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -223,6 +223,7 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType<QQuickTumbler, 1>(uri, 2, 1, "Tumbler"); // QtQuick.Templates 2.2 (new types and revisions in Qt 5.9) + qmlRegisterRevision<QQuickAbstractButton, 2>(uri, 2, 2); qmlRegisterType<QQuickComboBox, 2>(uri, 2, 2, "ComboBox"); qmlRegisterType<QQuickDial, 2>(uri, 2, 2, "Dial"); qmlRegisterType<QQuickDrawer, 2>(uri, 2, 2, "Drawer"); |