Changeset 78041 in vbox
- Timestamp:
- Apr 8, 2019 2:44:25 PM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
-
QIComboBox.cpp (modified) (1 diff)
-
QIComboBox.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIComboBox.cpp
r76606 r78041 207 207 AssertPtrReturn(m_pComboBox, -1); 208 208 return m_pComboBox->currentIndex(); 209 } 210 211 void QIComboBox::addItem(const QString &strText, const QVariant &userData /* = QVariant() */) const 212 { 213 /* Redirect to combo-box: */ 214 AssertPtrReturnVoid(m_pComboBox); 215 return m_pComboBox->addItem(strText, userData); 209 216 } 210 217 -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIComboBox.h
r76581 r78041 87 87 int currentIndex() const; 88 88 89 /** Adds the @a strText and userData (stored in the Qt::UserRole) into the combo-box. */ 90 void addItem(const QString &strText, const QVariant &userData = QVariant()) const; 89 91 /** Inserts the @a strText and userData (stored in the Qt::UserRole) into the combo-box at the given @a iIndex. */ 90 92 void insertItem(int iIndex, const QString &strText, const QVariant &userData = QVariant()) const;
Note:
See TracChangeset
for help on using the changeset viewer.

