- Timestamp:
- Apr 30, 2015 12:58:49 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 99916
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r55543 r55550 78 78 } 79 79 80 case KVBoxEventType_OnEventSourceChanged: 81 { 82 emit sigEventSourceChange(); 83 break; 84 } 85 80 86 case KVBoxEventType_OnMachineStateChanged: 81 87 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r55401 r55550 50 50 /** Notifies about the VBoxSVC become @a fAvailable. */ 51 51 void sigVBoxSVCAvailabilityChange(bool fAvailable); 52 53 /** Notifies about event-source state change (listener added or removed). */ 54 void sigEventSourceChange(); 52 55 53 56 /** Notifies about @a state change event for the machine with @a strId. */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r55507 r55550 155 155 } 156 156 157 void UISelectorWindow::sltEventSourceChange() 158 { 159 /* Update actions: */ 160 updateActionsAppearance(); 161 } 162 157 163 void UISelectorWindow::sltStateChanged(QString) 158 164 { … … 1551 1557 1552 1558 /* Global event handlers: */ 1559 connect(gVBoxEvents, SIGNAL(sigEventSourceChange()), this, SLOT(sltEventSourceChange())); 1553 1560 connect(gVBoxEvents, SIGNAL(sigMachineStateChange(QString, KMachineState)), this, SLOT(sltStateChanged(QString))); 1554 1561 connect(gVBoxEvents, SIGNAL(sigSessionStateChange(QString, KSessionState)), this, SLOT(sltStateChanged(QString))); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h
r55507 r55550 58 58 private slots: 59 59 60 /** Handles event-source state change (listener added or removed). */ 61 void sltEventSourceChange(); 60 62 /* Handlers: Global-event stuff: */ 61 63 void sltStateChanged(QString strId); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVirtualBoxEventHandler.cpp
r55359 r55550 82 82 QVector<KVBoxEventType> vboxEvents; 83 83 vboxEvents 84 << KVBoxEventType_OnEventSourceChanged 84 85 << KVBoxEventType_OnMachineStateChanged 85 86 << KVBoxEventType_OnMachineDataChanged … … 96 97 connect(pListener->getWrapped(), SIGNAL(sigVBoxSVCAvailabilityChange(bool)), 97 98 this, SIGNAL(sigVBoxSVCAvailabilityChange(bool)), 99 Qt::QueuedConnection); 100 connect(pListener->getWrapped(), SIGNAL(sigEventSourceChange()), 101 this, SIGNAL(sigEventSourceChange()), 98 102 Qt::QueuedConnection); 99 103 connect(pListener->getWrapped(), SIGNAL(sigMachineStateChange(QString, KMachineState)), -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVirtualBoxEventHandler.h
r55401 r55550 32 32 /** Notifies about the VBoxSVC become @a fAvailable. */ 33 33 void sigVBoxSVCAvailabilityChange(bool fAvailable); 34 35 /** Notifies about event-source state change (listener added or removed). */ 36 void sigEventSourceChange(); 34 37 35 38 /** Notifies about @a state change event for the machine with @a strId. */
Note:
See TracChangeset
for help on using the changeset viewer.