- Timestamp:
- May 28, 2019 1:38:33 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/importappliance/UIFormEditorWidget.cpp
r78250 r78818 60 60 ChoiceData(const QVector<QString> &values, int iSelectedIndex) 61 61 : m_values(values), m_iSelectedIndex(iSelectedIndex) {} 62 /** Constructs choice data on the basis of another @achoice data. */63 ChoiceData(const ChoiceData & choice)64 : m_values( choice.values()), m_iSelectedIndex(choice.selectedIndex()) {}65 66 /** Assigns values of @a other choice to this one. */67 ChoiceData &operator=(const ChoiceData & other)68 { 69 m_values = other.values();70 m_iSelectedIndex = other.selectedIndex();62 /** Constructs choice data on the basis of @a another choice data. */ 63 ChoiceData(const ChoiceData &another) 64 : m_values(another.values()), m_iSelectedIndex(another.selectedIndex()) {} 65 66 /** Assigns values of @a another choice to this one. */ 67 ChoiceData &operator=(const ChoiceData &another) 68 { 69 m_values = another.values(); 70 m_iSelectedIndex = another.selectedIndex(); 71 71 return *this; 72 72 } … … 93 93 94 94 95 /** QComboBox extension used as Porteditor. */95 /** QComboBox extension used as ChoiceData editor. */ 96 96 class ChoiceEditor : public QComboBox 97 97 { … … 101 101 public: 102 102 103 /** Constructs Port-editor passing @a pParent to the base-class. */103 /** Constructs ChoiceData editor passing @a pParent to the base-class. */ 104 104 ChoiceEditor(QWidget *pParent = 0) 105 105 : QComboBox(pParent) {}
Note:
See TracChangeset
for help on using the changeset viewer.