-GuiSelectionManager::GuiSelectionManager(
- QAbstractItemView * avail,
- QListView * sel,
- QPushButton * add,
- QPushButton * del,
- QPushButton * up,
- QPushButton * down,
- QAbstractListModel * amod,
- QAbstractListModel * smod)
- : availableLV(avail), selectedLV(sel), addPB(add), deletePB(del),
- upPB(up), downPB(down), availableModel(amod), selectedModel(smod),
- selectedHasFocus_(false)
+GuiSelectionManager::GuiSelectionManager(QObject * parent,
+ QAbstractItemView * avail,
+ QAbstractItemView * sel,
+ QPushButton * add,
+ QPushButton * del,
+ QPushButton * up,
+ QPushButton * down,
+ QAbstractListModel * amod,
+ QAbstractItemModel * smod,
+ int const main_sel_col)
+: QObject(parent), availableLV(avail), selectedLV(sel),
+ addPB(add), deletePB(del), upPB(up), downPB(down),
+ availableModel(amod), selectedModel(smod),
+ selectedHasFocus_(false), main_sel_col_(main_sel_col)