VirtualBox

Ignore:
Timestamp:
Oct 4, 2007 4:31:41 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25055
Message:

FE/Qt: Cleanup.

Location:
trunk/src/VBox/Frontends/VirtualBox/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h

    r5148 r5160  
    186186    void onExitFullscreen();
    187187
    188     void onToggleRegMenuItem (bool aEnable);
    189 
    190188private:
    191189
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxDefs.h

    r5148 r5160  
    132132        MachineDataChangeEventType,
    133133        MachineRegisteredEventType,
    134         ShowRegDlgEventType,
    135         ToggleRegMenuItemEvent,
    136134        SessionStateChangeEventType,
    137135        SnapshotEventType,
     136        CanShowRegDlgEventType,
    138137        NetworkAdapterChangeEventType,
    139138        USBCtlStateChangeEventType,
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h

    r5148 r5160  
    100100};
    101101
    102 class VBoxShowRegDlgEvent : public QEvent
    103 {
    104 public:
    105     VBoxShowRegDlgEvent()
    106         : QEvent ((QEvent::Type) VBoxDefs::ShowRegDlgEventType)
    107         {}
    108 };
    109 
    110 class VBoxToggleRegMenuItem : public QEvent
    111 {
    112 public:
    113     VBoxToggleRegMenuItem (bool aEnable)
    114         : QEvent ((QEvent::Type) VBoxDefs::ToggleRegMenuItemEvent)
    115         , mEnable (aEnable)
    116         {}
    117 
    118     bool mEnable;
    119 };
    120 
    121102class VBoxSessionStateChangeEvent : public QEvent
    122103{
     
    148129    const QUuid machineId;
    149130    const QUuid snapshotId;
     131};
     132
     133class VBoxCanShowRegDlgEvent : public QEvent
     134{
     135public:
     136    VBoxCanShowRegDlgEvent (bool aCanShow)
     137        : QEvent ((QEvent::Type) VBoxDefs::CanShowRegDlgEventType)
     138        , mCanShow (aCanShow)
     139        {}
     140
     141    const bool mCanShow;
    150142};
    151143
     
    516508    void sessionStateChanged (const VBoxSessionStateChangeEvent &e);
    517509    void snapshotChanged (const VBoxSnapshotEvent &e);
    518     void toggleRegMenuItem (bool aEnable);
     510
     511    void canShowRegDlg (bool aCanShow);
    519512
    520513public slots:
     
    522515    bool openURL (const QString &aURL);
    523516
    524     void checkRegistration (bool aForced = true);
     517    void showRegistrationDialog (bool aForce = true);
    525518
    526519protected:
     
    528521    bool event (QEvent *e);
    529522    bool eventFilter (QObject *, QEvent *);
    530 
    531     void showRegistrationDialog();
    532523
    533524private:
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxSelectorWnd.h

    r5148 r5160  
    103103    void snapshotChanged (const VBoxSnapshotEvent &e);
    104104
    105     void onToggleRegMenuItem (bool aEnable);
    106 
    107105private:
    108106
Note: See TracChangeset for help on using the changeset viewer.

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