aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickcombobox_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-20 13:50:28 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-05-20 12:30:02 +0000
commitdab55aaaf1b25d93761d7be0766efb61b2e271b0 (patch)
treecccadd39daefc4305ac1a4437683f6d4633c1f8c /src/quicktemplates2/qquickcombobox_p.h
parentaa468902b6c874a6c4a03bb2fc98edf93b1f5016 (diff)
ComboBox: increase/decrease() => increment/decrementCurrentIndex()
ComboBox does not have a value-property, unlike Slider, SpinBox, Dial, and ScrollBar. Change-Id: I9832ef8df1532d4cb85b981b164c7c85e8a82135 Task-number: QTBUG-53519 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickcombobox_p.h')
-rw-r--r--src/quicktemplates2/qquickcombobox_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquickcombobox_p.h b/src/quicktemplates2/qquickcombobox_p.h
index 8b25c616..26b7688e 100644
--- a/src/quicktemplates2/qquickcombobox_p.h
+++ b/src/quicktemplates2/qquickcombobox_p.h
@@ -112,8 +112,8 @@ public:
Q_INVOKABLE int find(const QString &text, Qt::MatchFlags flags = Qt::MatchExactly) const;
public Q_SLOTS:
- void increase();
- void decrease();
+ void incrementCurrentIndex();
+ void decrementCurrentIndex();
Q_SIGNALS:
void countChanged();