VirtualBox

Ignore:
Timestamp:
Nov 21, 2008 1:15:28 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
39725
Message:

Fe/Qt4: Systray:

  • Removed "Delete" action from VM sub menu.
  • Made the "Show Selector Window" entry bold.
  • Added re-translation support for show/exit actions.
  • Added separators to systray menu (only when VMs are existing).
File:
1 edited

Legend:

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

    r10219 r14455  
    4747    QString languageId;
    4848    QString maxGuestRes;
     49    bool trayIconEnabled;
    4950
    5051    friend class VBoxGlobalSettings;
     
    6162    Q_PROPERTY (QString languageId READ languageId WRITE setLanguageId)
    6263    Q_PROPERTY (QString maxGuestRes READ maxGuestRes WRITE setMaxGuestRes)
     64    Q_PROPERTY (bool trayIconEnabled READ trayIconEnabled WRITE setTrayIconEnabled)
    6365
    6466public:
     
    103105    }
    104106
     107    bool trayIconEnabled() const { return data()->trayIconEnabled; }
     108    void setTrayIconEnabled (bool enabled) {
     109        mData()->trayIconEnabled = enabled;
     110    }
     111
    105112    //
    106113
Note: See TracChangeset for help on using the changeset viewer.

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