Changeset 32479 in vbox
- Timestamp:
- Sep 14, 2010 1:23:16 PM (14 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobalSettings.cpp
r32100 r32479 63 63 remapScancodes = QString::null; 64 64 trayIconEnabled = false; 65 dockPreviewEnabled = true;66 65 presentationModeEnabled = false; 67 66 hostScreenSaverDisabled = false; … … 77 76 remapScancodes = that.remapScancodes; 78 77 trayIconEnabled = that.trayIconEnabled; 79 dockPreviewEnabled = that.dockPreviewEnabled;80 78 presentationModeEnabled = that.presentationModeEnabled; 81 79 hostScreenSaverDisabled = that.hostScreenSaverDisabled; … … 96 94 remapScancodes == that.remapScancodes && 97 95 trayIconEnabled == that.trayIconEnabled && 98 dockPreviewEnabled == that.dockPreviewEnabled &&99 96 presentationModeEnabled == that.presentationModeEnabled && 100 97 hostScreenSaverDisabled == that.hostScreenSaverDisabled … … 128 125 { "GUI/TrayIcon/Enabled", "trayIconEnabled", "true|false", true }, 129 126 #ifdef Q_WS_MAC 130 { VBoxDefs::GUI_RealtimeDockIconUpdateEnabled, "dockPreviewEnabled", "true|false", true },131 127 { VBoxDefs::GUI_PresentationModeEnabled, "presentationModeEnabled", "true|false", true }, 132 128 #endif /* Q_WS_MAC */ 133 { "GUI/HostScreenSaverDisabled", 129 { "GUI/HostScreenSaverDisabled", "hostScreenSaverDisabled", "true|false", true } 134 130 }; 135 131 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobalSettings.h
r32100 r32479 45 45 QString remapScancodes; 46 46 bool trayIconEnabled; 47 bool dockPreviewEnabled;48 47 bool presentationModeEnabled; 49 48 bool hostScreenSaverDisabled; … … 64 63 Q_PROPERTY (QString remapScancodes READ remapScancodes WRITE setRemapScancodes) 65 64 Q_PROPERTY (bool trayIconEnabled READ trayIconEnabled WRITE setTrayIconEnabled) 66 Q_PROPERTY (bool dockPreviewEnabled READ dockPreviewEnabled WRITE setDockPreviewEnabled)67 65 Q_PROPERTY (bool presentationModeEnabled READ presentationModeEnabled WRITE setPresentationModeEnabled) 68 66 Q_PROPERTY (bool hostScreenSaverDisabled READ hostScreenSaverDisabled WRITE setHostScreenSaverDisabled) … … 123 121 } 124 122 125 bool dockPreviewEnabled() const { return data()->dockPreviewEnabled; }126 void setDockPreviewEnabled (bool enabled)127 {128 mData()->dockPreviewEnabled = enabled;129 }130 131 123 bool presentationModeEnabled() const { return data()->presentationModeEnabled; } 132 124 void setPresentationModeEnabled (bool enabled)
Note:
See TracChangeset
for help on using the changeset viewer.