diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-06-28 12:33:35 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-06-28 12:33:35 (GMT) |
commit | b1b87a73012342dc1619a8e907ea9954d59ca564 (patch) | |
tree | df4b41dd744e28327e1f490646abdbc98c0e567b /src/gui/widgets | |
parent | abb27bbf94900aa335f53e9fb9a1a1ea20a9852c (diff) | |
download | Qt-b1b87a73012342dc1619a8e907ea9954d59ca564.zip Qt-b1b87a73012342dc1619a8e907ea9954d59ca564.tar.gz Qt-b1b87a73012342dc1619a8e907ea9954d59ca564.tar.bz2 |
set currentIndex as USER property for QComboBox
Task-Number: QTBUG-5260
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/qcombobox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/qcombobox.h b/src/gui/widgets/qcombobox.h index fb9af9f..81a4389 100644 --- a/src/gui/widgets/qcombobox.h +++ b/src/gui/widgets/qcombobox.h @@ -68,7 +68,7 @@ class Q_GUI_EXPORT QComboBox : public QWidget Q_PROPERTY(bool editable READ isEditable WRITE setEditable) Q_PROPERTY(int count READ count) Q_PROPERTY(QString currentText READ currentText) - Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged) + Q_PROPERTY(int currentIndex READ currentIndex WRITE setCurrentIndex NOTIFY currentIndexChanged USER true) Q_PROPERTY(int maxVisibleItems READ maxVisibleItems WRITE setMaxVisibleItems) Q_PROPERTY(int maxCount READ maxCount WRITE setMaxCount) Q_PROPERTY(InsertPolicy insertPolicy READ insertPolicy WRITE setInsertPolicy) |