diff options
Diffstat (limited to 'src/templates/qquickpageindicator.cpp')
-rw-r--r-- | src/templates/qquickpageindicator.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/templates/qquickpageindicator.cpp b/src/templates/qquickpageindicator.cpp index c8518b6f..31fe28db 100644 --- a/src/templates/qquickpageindicator.cpp +++ b/src/templates/qquickpageindicator.cpp @@ -81,7 +81,6 @@ public: bool interactive; QQmlComponent *delegate; QQuickItem *pressedItem; - QColor color; }; QQuickItem *QQuickPageIndicatorPrivate::itemAt(const QPoint &pos) const @@ -200,8 +199,6 @@ void QQuickPageIndicator::setInteractive(bool interactive) \row \li \b index : int \li The index of the item \row \li \b pressed : bool \li Whether the item is pressed \endtable - - \sa color */ QQmlComponent *QQuickPageIndicator::delegate() const { @@ -218,28 +215,6 @@ void QQuickPageIndicator::setDelegate(QQmlComponent *delegate) } } -/*! - \qmlproperty color Qt.labs.controls::PageIndicator::color - - This property holds the color of the indicator. - - \sa delegate -*/ -QColor QQuickPageIndicator::color() const -{ - Q_D(const QQuickPageIndicator); - return d->color; -} - -void QQuickPageIndicator::setColor(const QColor &color) -{ - Q_D(QQuickPageIndicator); - if (d->color != color) { - d->color = color; - emit colorChanged(); - } -} - void QQuickPageIndicator::contentItemChange(QQuickItem *newItem, QQuickItem *oldItem) { Q_D(QQuickPageIndicator); |