- Timestamp:
- Aug 20, 2010 12:15:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMainEventListener.cpp
r30871 r31811 66 66 case KVBoxEventType_OnMachineStateChanged: 67 67 { 68 CMachineStateChangedEvent es( event);68 CMachineStateChangedEvent es(pEvent); 69 69 emit sigMachineStateChange(es.GetMachineId(), es.GetState()); 70 70 break; … … 78 78 case KVBoxEventType_OnExtraDataCanChange: 79 79 { 80 CExtraDataCanChangeEvent es( event);80 CExtraDataCanChangeEvent es(pEvent); 81 81 /* Has to be done in place to give an answer */ 82 82 bool fVeto = false; … … 89 89 case KVBoxEventType_OnExtraDataChanged: 90 90 { 91 CExtraDataChangedEvent es( event);91 CExtraDataChangedEvent es(pEvent); 92 92 emit sigExtraDataChange(es.GetMachineId(), es.GetKey(), es.GetValue()); 93 93 break; … … 98 98 case KVBoxEventType_OnMachineRegistered: 99 99 { 100 CMachineRegisteredEvent es( event);100 CMachineRegisteredEvent es(pEvent); 101 101 emit sigMachineRegistered(es.GetMachineId(), es.GetRegistered()); 102 102 break; … … 104 104 case KVBoxEventType_OnSessionStateChanged: 105 105 { 106 CSessionStateChangedEvent es( event);106 CSessionStateChangedEvent es(pEvent); 107 107 emit sigSessionStateChange(es.GetMachineId(), es.GetState()); 108 108 break; … … 114 114 case KVBoxEventType_OnSnapshotChanged: 115 115 { 116 CSnapshotChangedEvent es( event);116 CSnapshotChangedEvent es(pEvent); 117 117 emit sigSnapshotChange(es.GetMachineId(), es.GetSnapshotId()); 118 118 break; … … 126 126 case KVBoxEventType_OnMousePointerShapeChanged: 127 127 { 128 CMousePointerShapeChangedEvent es( event);128 CMousePointerShapeChangedEvent es(pEvent); 129 129 emit sigMousePointerShapeChange(es.GetVisible(), es.GetAlpha(), QPoint(es.GetXhot(), es.GetYhot()), QSize(es.GetWidth(), es.GetHeight()), es.GetShape()); 130 130 break; … … 132 132 case KVBoxEventType_OnMouseCapabilityChanged: 133 133 { 134 CMouseCapabilityChangedEvent es( event);134 CMouseCapabilityChangedEvent es(pEvent); 135 135 emit sigMouseCapabilityChange(es.GetSupportsAbsolute(), es.GetSupportsRelative(), es.GetNeedsHostCursor()); 136 136 break; … … 138 138 case KVBoxEventType_OnKeyboardLedsChanged: 139 139 { 140 CKeyboardLedsChangedEvent es( event);140 CKeyboardLedsChangedEvent es(pEvent); 141 141 emit sigKeyboardLedsChangeEvent(es.GetNumLock(), es.GetCapsLock(), es.GetScrollLock()); 142 142 break; … … 144 144 case KVBoxEventType_OnStateChanged: 145 145 { 146 CStateChangedEvent es( event);146 CStateChangedEvent es(pEvent); 147 147 emit sigStateChange(es.GetState()); 148 148 break; … … 155 155 case KVBoxEventType_OnNetworkAdapterChanged: 156 156 { 157 CNetworkAdapterChangedEvent es( event);157 CNetworkAdapterChangedEvent es(pEvent); 158 158 emit sigNetworkAdapterChange(es.GetNetworkAdapter()); 159 159 break; … … 166 166 case KVBoxEventType_OnMediumChanged: 167 167 { 168 CMediumChangedEvent es( event);168 CMediumChangedEvent es(pEvent); 169 169 emit sigMediumChange(es.GetMediumAttachment()); 170 170 break; … … 182 182 case KVBoxEventType_OnUSBDeviceStateChanged: 183 183 { 184 CUSBDeviceStateChangedEvent es( event);184 CUSBDeviceStateChangedEvent es(pEvent); 185 185 emit sigUSBDeviceStateChange(es.GetDevice(), es.GetAttached(), es.GetError()); 186 186 break; … … 188 188 case KVBoxEventType_OnSharedFolderChanged: 189 189 { 190 CSharedFolderChangedEvent es( event);190 CSharedFolderChangedEvent es(pEvent); 191 191 emit sigSharedFolderChange(); 192 192 break; … … 194 194 case KVBoxEventType_OnRuntimeError: 195 195 { 196 CRuntimeErrorEvent es( event);196 CRuntimeErrorEvent es(pEvent); 197 197 emit sigRuntimeError(es.GetFatal(), es.GetId(), es.GetMessage()); 198 198 break; … … 200 200 case KVBoxEventType_OnCanShowWindow: 201 201 { 202 CCanShowWindowEvent es( event);202 CCanShowWindowEvent es(pEvent); 203 203 /* Has to be done in place to give an answer */ 204 204 bool fVeto = false; … … 211 211 case KVBoxEventType_OnShowWindow: 212 212 { 213 CShowWindowEvent es( event);213 CShowWindowEvent es(pEvent); 214 214 /* Has to be done in place to give an answer */ 215 215 ULONG64 winId;
Note:
See TracChangeset
for help on using the changeset viewer.