Changeset 5160 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Oct 4, 2007 4:31:41 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 25055
- Location:
- trunk/src/VBox/Frontends/VirtualBox/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h
r5148 r5160 186 186 void onExitFullscreen(); 187 187 188 void onToggleRegMenuItem (bool aEnable);189 190 188 private: 191 189 -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxDefs.h
r5148 r5160 132 132 MachineDataChangeEventType, 133 133 MachineRegisteredEventType, 134 ShowRegDlgEventType,135 ToggleRegMenuItemEvent,136 134 SessionStateChangeEventType, 137 135 SnapshotEventType, 136 CanShowRegDlgEventType, 138 137 NetworkAdapterChangeEventType, 139 138 USBCtlStateChangeEventType, -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r5148 r5160 100 100 }; 101 101 102 class VBoxShowRegDlgEvent : public QEvent103 {104 public:105 VBoxShowRegDlgEvent()106 : QEvent ((QEvent::Type) VBoxDefs::ShowRegDlgEventType)107 {}108 };109 110 class VBoxToggleRegMenuItem : public QEvent111 {112 public:113 VBoxToggleRegMenuItem (bool aEnable)114 : QEvent ((QEvent::Type) VBoxDefs::ToggleRegMenuItemEvent)115 , mEnable (aEnable)116 {}117 118 bool mEnable;119 };120 121 102 class VBoxSessionStateChangeEvent : public QEvent 122 103 { … … 148 129 const QUuid machineId; 149 130 const QUuid snapshotId; 131 }; 132 133 class VBoxCanShowRegDlgEvent : public QEvent 134 { 135 public: 136 VBoxCanShowRegDlgEvent (bool aCanShow) 137 : QEvent ((QEvent::Type) VBoxDefs::CanShowRegDlgEventType) 138 , mCanShow (aCanShow) 139 {} 140 141 const bool mCanShow; 150 142 }; 151 143 … … 516 508 void sessionStateChanged (const VBoxSessionStateChangeEvent &e); 517 509 void snapshotChanged (const VBoxSnapshotEvent &e); 518 void toggleRegMenuItem (bool aEnable); 510 511 void canShowRegDlg (bool aCanShow); 519 512 520 513 public slots: … … 522 515 bool openURL (const QString &aURL); 523 516 524 void checkRegistration (bool aForced= true);517 void showRegistrationDialog (bool aForce = true); 525 518 526 519 protected: … … 528 521 bool event (QEvent *e); 529 522 bool eventFilter (QObject *, QEvent *); 530 531 void showRegistrationDialog();532 523 533 524 private: -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxSelectorWnd.h
r5148 r5160 103 103 void snapshotChanged (const VBoxSnapshotEvent &e); 104 104 105 void onToggleRegMenuItem (bool aEnable);106 107 105 private: 108 106
Note:
See TracChangeset
for help on using the changeset viewer.