Changeset 51396 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 26, 2014 1:43:40 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/global
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp
r50860 r51396 53 53 m_pSelectorFilterEditor = new QLineEdit(pSelectorTab); 54 54 m_pSelectorModel = new UIHotKeyTableModel(this, UIActionPoolType_Selector); 55 m_pSelectorTable = new UIHotKeyTable(pSelectorTab, m_pSelectorModel );55 m_pSelectorTable = new UIHotKeyTable(pSelectorTab, m_pSelectorModel, "m_pSelectorTable"); 56 56 connect(m_pSelectorFilterEditor, SIGNAL(textChanged(const QString &)), 57 57 m_pSelectorModel, SLOT(sltHandleFilterTextChange(const QString &))); … … 69 69 m_pMachineFilterEditor = new QLineEdit(pMachineTab); 70 70 m_pMachineModel = new UIHotKeyTableModel(this, UIActionPoolType_Runtime); 71 m_pMachineTable = new UIHotKeyTable(pMachineTab, m_pMachineModel );71 m_pMachineTable = new UIHotKeyTable(pMachineTab, m_pMachineModel, "m_pMachineTable"); 72 72 connect(m_pMachineFilterEditor, SIGNAL(textChanged(const QString &)), 73 73 m_pMachineModel, SLOT(sltHandleFilterTextChange(const QString &))); … … 534 534 535 535 536 UIHotKeyTable::UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel )536 UIHotKeyTable::UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel, const QString &strObjectName) 537 537 : QTableView(pParent) 538 538 { 539 /* Set object name: */ 540 setObjectName(strObjectName); 541 539 542 /* Connect model: */ 540 543 setModel(pModel); -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h
r47944 r51396 242 242 243 243 /* Constructor: */ 244 UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel );244 UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel, const QString &strObjectName); 245 245 246 246 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.