Changeset 9828 in vbox
- Timestamp:
- Jun 19, 2008 4:29:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobalSettingsDlg.cpp
r9827 r9828 642 642 } 643 643 644 // /* USB Page */645 // void VBoxGlobalSettingsDlg::addUSBFilter (const CUSBDeviceFilter &aFilter,646 // bool aIsNew)647 // {648 // /*649 // Q3ListViewItem *currentItem = aIsNew650 // ? lvUSBFilters->currentItem()651 // : lvUSBFilters->lastItem();652 //653 // VBoxUSBFilterSettings *settings = new VBoxUSBFilterSettings (wstUSBFilters);654 // settings->setup (VBoxUSBFilterSettings::HostType);655 // settings->getFromFilter (aFilter);656 //657 // USBListItem *item = new USBListItem (lvUSBFilters, currentItem);658 // item->setOn (aFilter.GetActive());659 // item->setText (lvUSBFilters_Name, aFilter.GetName());660 //661 // item->mId = wstUSBFilters->addWidget (settings);662 //663 // // fix the tab order so that main dialog's buttons are always the last664 // setTabOrder (settings->focusProxy(), buttonHelp);665 // setTabOrder (buttonHelp, buttonOk);666 // setTabOrder (buttonOk, buttonCancel);667 //668 // if (aIsNew)669 // {670 // lvUSBFilters->setSelected (item, true);671 // lvUSBFilters_currentChanged (item);672 // settings->leUSBFilterName->setFocus();673 // }674 //675 // connect (settings->leUSBFilterName, SIGNAL (textChanged (const QString &)),676 // this, SLOT (lvUSBFilters_setCurrentText (const QString &)));677 //678 // // setup validation679 //680 // QIWidgetValidator *wval =681 // new QIWidgetValidator (pagePath (pageUSB), settings, settings);682 // connect (wval, SIGNAL (validityChanged (const QIWidgetValidator *)),683 // this, SLOT (enableOk (const QIWidgetValidator *)));684 //685 // wval->revalidate();686 // */687 // }688 689 644 // /* Language Page */ 690 645 // void VBoxGlobalSettingsDlg::lvLanguages_currentChanged (Q3ListViewItem *aItem)
Note:
See TracChangeset
for help on using the changeset viewer.