VirtualBox

Changeset 9828 in vbox


Ignore:
Timestamp:
Jun 19, 2008 4:29:20 PM (17 years ago)
Author:
vboxsync
Message:

Fe/Qt: Removed some commented code related to non-ported GlobalUSBSettings code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobalSettingsDlg.cpp

    r9827 r9828  
    642642}
    643643
    644 // /* USB Page */
    645 // void VBoxGlobalSettingsDlg::addUSBFilter (const CUSBDeviceFilter &aFilter,
    646 //                                           bool aIsNew)
    647 // {
    648 //     /*
    649 //     Q3ListViewItem *currentItem = aIsNew
    650 //         ? 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 last
    664 //     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 validation
    679 //
    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 
    689644// /* Language Page */
    690645// void VBoxGlobalSettingsDlg::lvLanguages_currentChanged (Q3ListViewItem *aItem)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette