VirtualBox

Ignore:
Timestamp:
Apr 1, 2008 12:33:40 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Ported the Console Window to Qt4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxGlobal.h

    r7643 r7678  
    3131#include <qthread.h>
    3232#include <q3popupmenu.h>
     33#include <QMenu>
    3334#include <qtooltip.h>
    3435
     
    717718 *  This class provides the list of USB devices attached to the host.
    718719 */
    719 class VBoxUSBMenu : public Q3PopupMenu
     720class VBoxUSBMenu : public QMenu
    720721{
    721722    Q_OBJECT
     
    723724public:
    724725
    725     enum { USBDevicesMenuNoDevicesId = 1 };
    726 
    727726    VBoxUSBMenu (QWidget *);
    728727
    729     const CUSBDevice& getUSB (int);
     728    const CUSBDevice& getUSB (QAction *aAction);
    730729
    731730    void setConsole (const CConsole &);
     
    735734    void processAboutToShow();
    736735
    737     void processHighlighted (int);
    738 
    739736private:
    740 
    741     QMap <int, CUSBDevice> mUSBDevicesMap;
     737    bool event(QEvent *aEvent);
     738
     739    QMap <QAction *, CUSBDevice> mUSBDevicesMap;
    742740    CConsole mConsole;
    743741};
    744 
    745742
    746743/**
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