diff options
Diffstat (limited to 'src/quicktemplates2/qquickabstractbutton.cpp')
-rw-r--r-- | src/quicktemplates2/qquickabstractbutton.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/quicktemplates2/qquickabstractbutton.cpp b/src/quicktemplates2/qquickabstractbutton.cpp index 8ae5ca6d..5ab6729f 100644 --- a/src/quicktemplates2/qquickabstractbutton.cpp +++ b/src/quicktemplates2/qquickabstractbutton.cpp @@ -427,14 +427,6 @@ void QQuickAbstractButton::setAutoExclusive(bool exclusive) emit autoExclusiveChanged(); } -/*! - \qmlproperty bool QtQuick.Controls::AbstractButton::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. -*/ bool QQuickAbstractButton::autoRepeat() const { Q_D(const QQuickAbstractButton); @@ -449,7 +441,7 @@ void QQuickAbstractButton::setAutoRepeat(bool repeat) d->stopPressRepeat(); d->autoRepeat = repeat; - emit autoRepeatChanged(); + autoRepeatChange(); } /*! @@ -644,6 +636,10 @@ void QQuickAbstractButton::checkableChange() { } +void QQuickAbstractButton::autoRepeatChange() +{ +} + #ifndef QT_NO_ACCESSIBILITY void QQuickAbstractButton::accessibilityActiveChanged(bool active) { |