Changeset 44981 in vbox
- Timestamp:
- Mar 11, 2013 12:15:26 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84202
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/runtime
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r44954 r44981 168 168 /* Prepare action connections: */ 169 169 prepareActionConnections(); 170 171 /* Prepare other connections: */ 172 prepareOtherConnections(); 170 173 171 174 /* Prepare handlers: */ -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h
r44954 r44981 130 130 virtual void prepareActionGroups(); 131 131 virtual void prepareActionConnections(); 132 virtual void prepareOtherConnections() {} 132 133 virtual void prepareHandlers(); 133 134 virtual void prepareMachineWindows() = 0; … … 150 151 virtual void cleanupMachineWindows() = 0; 151 152 virtual void cleanupHandlers(); 153 //virtual void cleanupOtherConnections() {} 152 154 //virtual void cleanupActionConnections() {} 153 155 virtual void cleanupActionGroups(); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.cpp
r44865 r44981 92 92 } 93 93 94 void UIMachineLogicFullscreen::prepare()95 {96 /* Call to base-class: */97 UIMachineLogic::prepare();98 99 #ifdef Q_WS_MAC100 /* Prepare fullscreen connections: */101 prepareFullscreenConnections();102 #endif /* Q_WS_MAC */103 }104 105 94 int UIMachineLogicFullscreen::hostScreenForGuestScreen(int iScreenId) const 106 95 { … … 158 147 pMenu->setVisible(true); 159 148 } 149 150 #ifdef Q_WS_MAC 151 void UIMachineLogicFullscreen::prepareOtherConnections() 152 { 153 /* Presentation mode connection: */ 154 connect(gEDataEvents, SIGNAL(sigPresentationModeChange(bool)), 155 this, SLOT(sltChangePresentationMode(bool))); 156 } 157 #endif /* Q_WS_MAC */ 160 158 161 159 void UIMachineLogicFullscreen::prepareMachineWindows() … … 195 193 setMachineWindowsCreated(true); 196 194 } 197 198 #ifdef Q_WS_MAC199 void UIMachineLogicFullscreen::prepareFullscreenConnections()200 {201 /* Presentation mode connection: */202 connect(gEDataEvents, SIGNAL(sigPresentationModeChange(bool)),203 this, SLOT(sltChangePresentationMode(bool)));204 }205 #endif /* Q_WS_MAC */206 195 207 196 void UIMachineLogicFullscreen::cleanupMachineWindows() -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen/UIMachineLogicFullscreen.h
r44865 r44981 40 40 bool checkAvailability(); 41 41 42 /* Prepare logic: */43 void prepare();44 45 42 /* Multi-screen stuff: */ 46 43 int hostScreenForGuestScreen(int iScreenId) const; … … 60 57 /* Prepare helpers: */ 61 58 void prepareActionGroups(); 59 #ifdef Q_WS_MAC 60 void prepareOtherConnections(); 61 #endif /* Q_WS_MAC */ 62 62 void prepareMachineWindows(); 63 #ifdef Q_WS_MAC64 void prepareFullscreenConnections();65 #endif /* Q_WS_MAC */66 63 67 64 /* Cleanup helpers: */ 65 void cleanupMachineWindows(); 68 66 #ifdef Q_WS_MAC 69 //void cleanup CommonConnections() {}67 //void cleanupOtherConnections() {} 70 68 #endif /* Q_WS_MAC */ 71 void cleanupMachineWindows();72 69 void cleanupActionGroups(); 73 70
Note:
See TracChangeset
for help on using the changeset viewer.