Changeset 78203 in vbox for trunk/src/VBox
- Timestamp:
- Apr 18, 2019 10:15:07 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIFormEditorWidget.cpp
r78177 r78203 59 59 ChoiceData(const QVector<QString> &choices, int iSelectedChoice) 60 60 : m_choices(choices), m_iSelectedChoice(iSelectedChoice) {} 61 /** Constructs choice data on the basis of another @a choice data. */ 62 ChoiceData(const ChoiceData &choice) 63 : m_choices(choice.choices()), m_iSelectedChoice(choice.selectedChoice()) {} 61 64 62 65 /** Returns choice list. */ … … 90 93 91 94 /** Defines the @a choice. */ 92 void setChoice( ChoiceDatachoice)95 void setChoice(const ChoiceData &choice) 93 96 { 94 97 addItems(choice.choices().toList()); … … 163 166 ChoiceData toChoice() const; 164 167 /** Defines @a choice value. */ 165 void setChoice( ChoiceDatachoice);168 void setChoice(const ChoiceData &choice); 166 169 167 170 protected: … … 364 367 } 365 368 366 void UIFormEditorRow::setChoice( ChoiceDatachoice)369 void UIFormEditorRow::setChoice(const ChoiceData &choice) 367 370 { 368 371 AssertReturnVoid(valueType() == KFormValueType_Choice);
Note:
See TracChangeset
for help on using the changeset viewer.