Changeset 15664 in vbox for trunk/src/VBox/Frontends/VirtualBox4/include
- Timestamp:
- Dec 18, 2008 2:46:02 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxDefs.h
r15164 r15664 162 162 #ifdef Q_WS_MAC 163 163 static const char* GUI_RealtimeDockIconUpdateEnabled; 164 #endif 164 #endif /* Q_WS_MAC */ 165 165 static const char* GUI_PassCAD; 166 166 }; -
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxGlobalSettings.h
r14455 r15664 48 48 QString maxGuestRes; 49 49 bool trayIconEnabled; 50 bool dockPreviewEnabled; 50 51 51 52 friend class VBoxGlobalSettings; … … 63 64 Q_PROPERTY (QString maxGuestRes READ maxGuestRes WRITE setMaxGuestRes) 64 65 Q_PROPERTY (bool trayIconEnabled READ trayIconEnabled WRITE setTrayIconEnabled) 66 Q_PROPERTY (bool dockPreviewEnabled READ dockPreviewEnabled WRITE setDockPreviewEnabled) 65 67 66 68 public: … … 106 108 107 109 bool trayIconEnabled() const { return data()->trayIconEnabled; } 108 void setTrayIconEnabled (bool enabled) { 110 void setTrayIconEnabled (bool enabled) 111 { 109 112 mData()->trayIconEnabled = enabled; 110 113 } 114 115 bool dockPreviewEnabled() const { return data()->dockPreviewEnabled; } 116 void setDockPreviewEnabled (bool enabled) 117 { 118 mData()->dockPreviewEnabled = enabled; 119 } 120 111 121 112 122 //
Note:
See TracChangeset
for help on using the changeset viewer.