aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickbutton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicktemplates2/qquickbutton.cpp')
-rw-r--r--src/quicktemplates2/qquickbutton.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickbutton.cpp b/src/quicktemplates2/qquickbutton.cpp
index f34a5295..5f702818 100644
--- a/src/quicktemplates2/qquickbutton.cpp
+++ b/src/quicktemplates2/qquickbutton.cpp
@@ -105,6 +105,20 @@ void QQuickButton::checkableChange()
emit checkableChanged();
}
+/*!
+ \qmlproperty bool QtQuick.Controls::Button::autoRepeat
+
+ This property holds whether the button repeats pressed(), released()
+ and clicked() signals while the button is pressed and held down.
+
+ The default value is \c false.
+*/
+
+void QQuickButton::autoRepeatChange()
+{
+ emit autoRepeatChanged();
+}
+
QFont QQuickButton::defaultFont() const
{
return QQuickControlPrivate::themeFont(QPlatformTheme::PushButtonFont);