Changeset 55554 in vbox
- Timestamp:
- Apr 30, 2015 1:55:03 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 6 edited
-
globals/UIMainEventListener.cpp (modified) (1 diff)
-
globals/UIMainEventListener.h (modified) (1 diff)
-
selector/UISelectorWindow.cpp (modified) (2 diffs)
-
selector/UISelectorWindow.h (modified) (1 diff)
-
selector/UIVirtualBoxEventHandler.cpp (modified) (2 diffs)
-
selector/UIVirtualBoxEventHandler.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r55550 r55554 78 78 } 79 79 80 case KVBoxEventType_OnEventSourceChanged:81 {82 emit sigEventSourceChange();83 break;84 }85 86 80 case KVBoxEventType_OnMachineStateChanged: 87 81 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.h
r55550 r55554 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();55 52 56 53 /** Notifies about @a state change event for the machine with @a strId. */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.cpp
r55552 r55554 155 155 } 156 156 157 void UISelectorWindow::sltEventSourceChange()158 {159 /* Update actions: */160 updateActionsAppearance();161 }162 163 157 void UISelectorWindow::sltStateChanged(QString) 164 158 { … … 1558 1552 1559 1553 /* Global event handlers: */ 1560 connect(gVBoxEvents, SIGNAL(sigEventSourceChange()), this, SLOT(sltEventSourceChange()));1561 1554 connect(gVBoxEvents, SIGNAL(sigMachineStateChange(QString, KMachineState)), this, SLOT(sltStateChanged(QString))); 1562 1555 connect(gVBoxEvents, SIGNAL(sigSessionStateChange(QString, KSessionState)), this, SLOT(sltStateChanged(QString))); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISelectorWindow.h
r55550 r55554 58 58 private slots: 59 59 60 /** Handles event-source state change (listener added or removed). */61 void sltEventSourceChange();62 60 /* Handlers: Global-event stuff: */ 63 61 void sltStateChanged(QString strId); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVirtualBoxEventHandler.cpp
r55550 r55554 82 82 QVector<KVBoxEventType> vboxEvents; 83 83 vboxEvents 84 << KVBoxEventType_OnEventSourceChanged85 84 << KVBoxEventType_OnMachineStateChanged 86 85 << KVBoxEventType_OnMachineDataChanged … … 97 96 connect(pListener->getWrapped(), SIGNAL(sigVBoxSVCAvailabilityChange(bool)), 98 97 this, SIGNAL(sigVBoxSVCAvailabilityChange(bool)), 99 Qt::QueuedConnection);100 connect(pListener->getWrapped(), SIGNAL(sigEventSourceChange()),101 this, SIGNAL(sigEventSourceChange()),102 98 Qt::QueuedConnection); 103 99 connect(pListener->getWrapped(), SIGNAL(sigMachineStateChange(QString, KMachineState)), -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVirtualBoxEventHandler.h
r55550 r55554 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();37 34 38 35 /** Notifies about @a state change event for the machine with @a strId. */
Note:
See TracChangeset
for help on using the changeset viewer.

