VirtualBox

Changeset 32479 in vbox


Ignore:
Timestamp:
Sep 14, 2010 1:23:16 PM (14 years ago)
Author:
vboxsync
Message:

FE/Qt4: some cleanup

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobalSettings.cpp

    r32100 r32479  
    6363    remapScancodes = QString::null;
    6464    trayIconEnabled = false;
    65     dockPreviewEnabled = true;
    6665    presentationModeEnabled = false;
    6766    hostScreenSaverDisabled = false;
     
    7776    remapScancodes = that.remapScancodes;
    7877    trayIconEnabled = that.trayIconEnabled;
    79     dockPreviewEnabled = that.dockPreviewEnabled;
    8078    presentationModeEnabled = that.presentationModeEnabled;
    8179    hostScreenSaverDisabled = that.hostScreenSaverDisabled;
     
    9694         remapScancodes == that.remapScancodes &&
    9795         trayIconEnabled == that.trayIconEnabled &&
    98          dockPreviewEnabled == that.dockPreviewEnabled &&
    9996         presentationModeEnabled == that.presentationModeEnabled &&
    10097         hostScreenSaverDisabled == that.hostScreenSaverDisabled
     
    128125    { "GUI/TrayIcon/Enabled",                      "trayIconEnabled",         "true|false", true },
    129126#ifdef Q_WS_MAC
    130     { VBoxDefs::GUI_RealtimeDockIconUpdateEnabled, "dockPreviewEnabled",      "true|false", true },
    131127    { VBoxDefs::GUI_PresentationModeEnabled,       "presentationModeEnabled", "true|false", true },
    132128#endif /* Q_WS_MAC */
    133     { "GUI/HostScreenSaverDisabled",                "hostScreenSaverDisabled",     "true|false", true }
     129    { "GUI/HostScreenSaverDisabled",               "hostScreenSaverDisabled",     "true|false", true }
    134130};
    135131
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobalSettings.h

    r32100 r32479  
    4545    QString remapScancodes;
    4646    bool trayIconEnabled;
    47     bool dockPreviewEnabled;
    4847    bool presentationModeEnabled;
    4948    bool hostScreenSaverDisabled;
     
    6463    Q_PROPERTY (QString remapScancodes READ remapScancodes WRITE setRemapScancodes)
    6564    Q_PROPERTY (bool trayIconEnabled READ trayIconEnabled WRITE setTrayIconEnabled)
    66     Q_PROPERTY (bool dockPreviewEnabled READ dockPreviewEnabled WRITE setDockPreviewEnabled)
    6765    Q_PROPERTY (bool presentationModeEnabled READ presentationModeEnabled WRITE setPresentationModeEnabled)
    6866    Q_PROPERTY (bool hostScreenSaverDisabled READ hostScreenSaverDisabled WRITE setHostScreenSaverDisabled)
     
    123121    }
    124122
    125     bool dockPreviewEnabled() const { return data()->dockPreviewEnabled; }
    126     void setDockPreviewEnabled (bool enabled)
    127     {
    128         mData()->dockPreviewEnabled = enabled;
    129     }
    130 
    131123    bool presentationModeEnabled() const { return data()->presentationModeEnabled; }
    132124    void setPresentationModeEnabled (bool enabled)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette