Changeset 5148 in vbox for trunk/src/VBox/Frontends/VirtualBox/include
- Timestamp:
- Oct 3, 2007 12:05:25 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 25026
- Location:
- trunk/src/VBox/Frontends/VirtualBox/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h
r5140 r5148 186 186 void onExitFullscreen(); 187 187 188 void onToggleRegMenuItem (bool aEnable); 189 188 190 private: 189 191 -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxDefs.h
r5128 r5148 133 133 MachineRegisteredEventType, 134 134 ShowRegDlgEventType, 135 ToggleRegMenuItemEvent, 135 136 SessionStateChangeEventType, 136 137 SnapshotEventType, -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxGlobal.h
r5139 r5148 108 108 }; 109 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 110 121 class VBoxSessionStateChangeEvent : public QEvent 111 122 { … … 376 387 bool showVirtualBoxLicense(); 377 388 #endif 378 379 void checkRegistration();380 389 381 390 CSession openSession (const QUuid &id); … … 507 516 void sessionStateChanged (const VBoxSessionStateChangeEvent &e); 508 517 void snapshotChanged (const VBoxSnapshotEvent &e); 518 void toggleRegMenuItem (bool aEnable); 509 519 510 520 public slots: … … 512 522 bool openURL (const QString &aURL); 513 523 514 void showRegistrationDialog();524 void checkRegistration (bool aForced = true); 515 525 516 526 protected: … … 518 528 bool event (QEvent *e); 519 529 bool eventFilter (QObject *, QEvent *); 530 531 void showRegistrationDialog(); 520 532 521 533 private: -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxSelectorWnd.h
r5140 r5148 103 103 void snapshotChanged (const VBoxSnapshotEvent &e); 104 104 105 void onToggleRegMenuItem (bool aEnable); 106 105 107 private: 106 108
Note:
See TracChangeset
for help on using the changeset viewer.