VirtualBox

Ignore:
Timestamp:
Dec 18, 2008 2:46:02 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4-OSX: Added option to enable/disable the real time VM preview in the dock
icon.

Location:
trunk/src/VBox/Frontends/VirtualBox4/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxDefs.h

    r15164 r15664  
    162162#ifdef Q_WS_MAC
    163163    static const char* GUI_RealtimeDockIconUpdateEnabled;
    164 #endif
     164#endif /* Q_WS_MAC */
    165165    static const char* GUI_PassCAD;
    166166};
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxGlobalSettings.h

    r14455 r15664  
    4848    QString maxGuestRes;
    4949    bool trayIconEnabled;
     50    bool dockPreviewEnabled;
    5051
    5152    friend class VBoxGlobalSettings;
     
    6364    Q_PROPERTY (QString maxGuestRes READ maxGuestRes WRITE setMaxGuestRes)
    6465    Q_PROPERTY (bool trayIconEnabled READ trayIconEnabled WRITE setTrayIconEnabled)
     66    Q_PROPERTY (bool dockPreviewEnabled READ dockPreviewEnabled WRITE setDockPreviewEnabled)
    6567
    6668public:
     
    106108
    107109    bool trayIconEnabled() const { return data()->trayIconEnabled; }
    108     void setTrayIconEnabled (bool enabled) {
     110    void setTrayIconEnabled (bool enabled)
     111    {
    109112        mData()->trayIconEnabled = enabled;
    110113    }
     114
     115    bool dockPreviewEnabled() const { return data()->dockPreviewEnabled; }
     116    void setDockPreviewEnabled (bool enabled)
     117    {
     118        mData()->dockPreviewEnabled = enabled;
     119    }
     120
    111121
    112122    //
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