VirtualBox

Ignore:
Timestamp:
Jul 8, 2014 12:46:54 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94819
Message:

FE/Qt: 6660: Advanced extra-data management framework: Remove unjustified constance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h

    r51927 r51928  
    7979      * @{ */
    8080        /** Returns the list of supressed messages for the Message/Popup center frameworks. */
    81         QStringList suppressedMessages() const;
     81        QStringList suppressedMessages();
    8282        /** Defines the @a list of supressed messages for the Message/Popup center frameworks. */
    8383        void setSuppressedMessages(const QStringList &list);
    8484
    8585        /** Returns the list of messages for the Message/Popup center frameworks with inverted check-box state. */
    86         QStringList messagesWithInvertedOption() const;
     86        QStringList messagesWithInvertedOption();
    8787
    8888#if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG)
    8989        /** Returns version for which user wants to prevent BETA build warning. */
    90         QString preventBetaBuildWarningForVersion() const;
     90        QString preventBetaBuildWarningForVersion();
    9191#endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */
    9292    /** @} */
     
    9696      * @{ */
    9797        /** Returns whether Application Update functionality enabled. */
    98         bool applicationUpdateEnabled() const;
     98        bool applicationUpdateEnabled();
    9999
    100100        /** Returns Application Update data. */
    101         QString applicationUpdateData() const;
     101        QString applicationUpdateData();
    102102        /** Defines Application Update data as @a strValue. */
    103103        void setApplicationUpdateData(const QString &strValue);
    104104
    105105        /** Returns Application Update check counter. */
    106         qulonglong applicationUpdateCheckCounter() const;
     106        qulonglong applicationUpdateCheckCounter();
    107107        /** Increments Application Update check counter. */
    108108        void incrementApplicationUpdateCheckCounter();
     
    113113      * @{ */
    114114        /** Returns restricted global settings pages. */
    115         QList<GlobalSettingsPageType> restrictedGlobalSettingsPages() const;
     115        QList<GlobalSettingsPageType> restrictedGlobalSettingsPages();
    116116        /** Returns restricted machine settings pages. */
    117         QList<MachineSettingsPageType> restrictedMachineSettingsPages(const QString &strID) const;
     117        QList<MachineSettingsPageType> restrictedMachineSettingsPages(const QString &strID);
    118118    /** @} */
    119119
     
    121121      * @{ */
    122122        /** Returns shortcut overrides for shortcut-pool with @a strPoolExtraDataID. */
    123         QStringList shortcutOverrides(const QString &strPoolExtraDataID) const;
     123        QStringList shortcutOverrides(const QString &strPoolExtraDataID);
    124124    /** @} */
    125125
     
    127127      * @{ */
    128128        /** Returns recent folder for hard-drives. */
    129         QString recentFolderForHardDrives() const;
     129        QString recentFolderForHardDrives();
    130130        /** Returns recent folder for optical-disks. */
    131         QString recentFolderForOpticalDisks() const;
     131        QString recentFolderForOpticalDisks();
    132132        /** Returns recent folder for floppy-disks. */
    133         QString recentFolderForFloppyDisks() const;
     133        QString recentFolderForFloppyDisks();
    134134        /** Defines recent folder for hard-drives as @a strValue. */
    135135        void setRecentFolderForHardDrives(const QString &strValue);
     
    140140
    141141        /** Returns the list of recently used hard-drives. */
    142         QStringList recentListOfHardDrives() const;
     142        QStringList recentListOfHardDrives();
    143143        /** Returns the list of recently used optical-disk. */
    144         QStringList recentListOfOpticalDisks() const;
     144        QStringList recentListOfOpticalDisks();
    145145        /** Returns the list of recently used floppy-disk. */
    146         QStringList recentListOfFloppyDisks() const;
     146        QStringList recentListOfFloppyDisks();
    147147        /** Defines the list of recently used hard-drives as @a value. */
    148148        void setRecentListOfHardDrives(const QStringList &value);
     
    156156      * @{ */
    157157        /** Returns selector-window geometry using @a pWidget as the hint. */
    158         QRect selectorWindowGeometry(QWidget *pWidget) const;
     158        QRect selectorWindowGeometry(QWidget *pWidget);
    159159        /** Returns whether selector-window should be maximized. */
    160         bool selectorWindowShouldBeMaximized() const;
     160        bool selectorWindowShouldBeMaximized();
    161161        /** Defines selector-window @a geometry and @a fMaximized state. */
    162162        void setSelectorWindowGeometry(const QRect &geometry, bool fMaximized);
    163163
    164164        /** Returns selector-window splitter hints. */
    165         QList<int> selectorWindowSplitterHints() const;
     165        QList<int> selectorWindowSplitterHints();
    166166        /** Defines selector-window splitter @a hints. */
    167167        void setSelectorWindowSplitterHints(const QList<int> &hints);
    168168
    169169        /** Returns whether selector-window tool-bar visible. */
    170         bool selectorWindowToolBarVisible() const;
     170        bool selectorWindowToolBarVisible();
    171171        /** Defines whether selector-window tool-bar @a fVisible. */
    172172        void setSelectorWindowToolBarVisible(bool fVisible);
    173173
    174174        /** Returns whether selector-window status-bar visible. */
    175         bool selectorWindowStatusBarVisible() const;
     175        bool selectorWindowStatusBarVisible();
    176176        /** Defines whether selector-window status-bar @a fVisible. */
    177177        void setSelectorWindowStatusBarVisible(bool fVisible);
     
    180180        void clearSelectorWindowGroupsDefinitions();
    181181        /** Returns selector-window chooser-pane' groups definitions for passed @a strGroupID. */
    182         QStringList selectorWindowGroupsDefinitions(const QString &strGroupID) const;
     182        QStringList selectorWindowGroupsDefinitions(const QString &strGroupID);
    183183        /** Defines selector-window chooser-pane' groups @a definitions for passed @a strGroupID. */
    184184        void setSelectorWindowGroupsDefinitions(const QString &strGroupID, const QStringList &definitions);
    185185
    186186        /** Returns last-item ID of the item chosen in selector-window chooser-pane. */
    187         QString selectorWindowLastItemChosen() const;
     187        QString selectorWindowLastItemChosen();
    188188        /** Defines @a lastItemID of the item chosen in selector-window chooser-pane. */
    189189        void setSelectorWindowLastItemChosen(const QString &strItemID);
     
    195195
    196196        /** Returns selector-window details-pane' preview update interval. */
    197         PreviewUpdateIntervalType selectorWindowPreviewUpdateInterval() const;
     197        PreviewUpdateIntervalType selectorWindowPreviewUpdateInterval();
    198198        /** Defines selector-window details-pane' preview update @a interval. */
    199199        void setSelectorWindowPreviewUpdateInterval(PreviewUpdateIntervalType interval);
     
    211211      * @{ */
    212212        /** Returns whether machine should be shown in selector-window chooser-pane. */
    213         bool showMachineInSelectorChooser(const QString &strID) const;
     213        bool showMachineInSelectorChooser(const QString &strID);
    214214        /** Returns whether machine should be shown in selector-window details-pane. */
    215         bool showMachineInSelectorDetails(const QString &strID) const;
     215        bool showMachineInSelectorDetails(const QString &strID);
    216216
    217217        /** Returns whether machine reconfiguration enabled. */
    218         bool machineReconfigurationEnabled(const QString &strID) const;
     218        bool machineReconfigurationEnabled(const QString &strID);
    219219        /** Returns whether machine snapshot operations enabled. */
    220         bool machineSnapshotOperationsEnabled(const QString &strID) const;
     220        bool machineSnapshotOperationsEnabled(const QString &strID);
    221221
    222222        /** Returns whether this machine is first time started. */
    223         bool machineFirstTimeStarted(const QString &strID) const;
     223        bool machineFirstTimeStarted(const QString &strID);
    224224        /** Returns whether this machine is fFirstTimeStarted. */
    225225        void setMachineFirstTimeStarted(bool fFirstTimeStarted, const QString &strID);
     
    227227#ifndef Q_WS_MAC
    228228        /** Except Mac OS X: Returns redefined machine-window icon names. */
    229         QStringList machineWindowIconNames(const QString &strID) const;
     229        QStringList machineWindowIconNames(const QString &strID);
    230230        /** Except Mac OS X: Returns redefined machine-window name postfix. */
    231         QString machineWindowNamePostfix(const QString &strID) const;
     231        QString machineWindowNamePostfix(const QString &strID);
    232232#endif /* !Q_WS_MAC */
    233233
    234234        /** Returns geometry for machine-window with @a uScreenIndex in @a visualStateType. */
    235         QRect machineWindowGeometry(UIVisualStateType visualStateType, ulong uScreenIndex, const QString &strID) const;
     235        QRect machineWindowGeometry(UIVisualStateType visualStateType, ulong uScreenIndex, const QString &strID);
    236236        /** Returns whether machine-window with @a uScreenIndex in @a visualStateType should be maximized. */
    237         bool machineWindowShouldBeMaximized(UIVisualStateType visualStateType, ulong uScreenIndex, const QString &strID) const;
     237        bool machineWindowShouldBeMaximized(UIVisualStateType visualStateType, ulong uScreenIndex, const QString &strID);
    238238        /** Defines @a geometry and @a fMaximized state for machine-window with @a uScreenIndex in @a visualStateType. */
    239239        void setMachineWindowGeometry(UIVisualStateType visualStateType, ulong uScreenIndex, const QRect &geometry, bool fMaximized, const QString &strID);
    240240
    241241        /** Returns restricted Runtime UI menu types. */
    242         RuntimeMenuType restrictedRuntimeMenuTypes(const QString &strID) const;
     242        RuntimeMenuType restrictedRuntimeMenuTypes(const QString &strID);
    243243    #ifdef Q_WS_MAC
    244244        /** Mac OS X: Returns restricted Runtime UI action types for Application menu. */
    245         RuntimeMenuApplicationActionType restrictedRuntimeMenuApplicationActionTypes(const QString &strID) const;
     245        RuntimeMenuApplicationActionType restrictedRuntimeMenuApplicationActionTypes(const QString &strID);
    246246    #endif /* Q_WS_MAC */
    247247        /** Returns restricted Runtime UI action types for Machine menu. */
    248         RuntimeMenuMachineActionType restrictedRuntimeMenuMachineActionTypes(const QString &strID) const;
     248        RuntimeMenuMachineActionType restrictedRuntimeMenuMachineActionTypes(const QString &strID);
    249249        /** Returns restricted Runtime UI action types for View menu. */
    250         RuntimeMenuViewActionType restrictedRuntimeMenuViewActionTypes(const QString &strID) const;
     250        RuntimeMenuViewActionType restrictedRuntimeMenuViewActionTypes(const QString &strID);
    251251        /** Returns restricted Runtime UI action types for Devices menu. */
    252         RuntimeMenuDevicesActionType restrictedRuntimeMenuDevicesActionTypes(const QString &strID) const;
     252        RuntimeMenuDevicesActionType restrictedRuntimeMenuDevicesActionTypes(const QString &strID);
    253253    #ifdef VBOX_WITH_DEBUGGER_GUI
    254254        /** Returns restricted Runtime UI action types for Debugger menu. */
    255         RuntimeMenuDebuggerActionType restrictedRuntimeMenuDebuggerActionTypes(const QString &strID) const;
     255        RuntimeMenuDebuggerActionType restrictedRuntimeMenuDebuggerActionTypes(const QString &strID);
    256256    #endif /* VBOX_WITH_DEBUGGER_GUI */
    257257        /** Returns restricted Runtime UI action types for Help menu. */
    258         RuntimeMenuHelpActionType restrictedRuntimeMenuHelpActionTypes(const QString &strID) const;
     258        RuntimeMenuHelpActionType restrictedRuntimeMenuHelpActionTypes(const QString &strID);
    259259
    260260        /** Returns restricted Runtime UI visual-states. */
    261         UIVisualStateType restrictedVisualStates(const QString &strID) const;
     261        UIVisualStateType restrictedVisualStates(const QString &strID);
    262262
    263263        /** Returns requested Runtime UI visual-state. */
    264         UIVisualStateType requestedVisualState(const QString &strID) const;
     264        UIVisualStateType requestedVisualState(const QString &strID);
    265265        /** Defines requested Runtime UI visual-state as @a visualState. */
    266266        void setRequestedVisualState(UIVisualStateType visualState, const QString &strID);
    267267
    268268        /** Returns whether guest-screen auto-resize according machine-window size is enabled. */
    269         bool guestScreenAutoResizeEnabled(const QString &strID) const;
     269        bool guestScreenAutoResizeEnabled(const QString &strID);
    270270        /** Defines whether guest-screen auto-resize according machine-window size is @a fEnabled. */
    271271        void setGuestScreenAutoResizeEnabled(bool fEnabled, const QString &strID);
    272272
    273273        /** Returns last guest-screen size-hint for screen with @a uScreenIndex. */
    274         QSize lastGuestSizeHint(ulong uScreenIndex, const QString &strID) const;
     274        QSize lastGuestSizeHint(ulong uScreenIndex, const QString &strID);
    275275        /** Defines last guest-screen @a sizeHint for screen with @a uScreenIndex. */
    276276        void setLastGuestSizeHint(ulong uScreenIndex, const QSize &sizeHint, const QString &strID);
    277277        /** Returns whether guest size-hint was for full or seamless screen with @a uScreenIndex. */
    278         bool wasLastGuestSizeHintForFullScreen(ulong uScreenIndex, const QString &strID) const;
     278        bool wasLastGuestSizeHintForFullScreen(ulong uScreenIndex, const QString &strID);
    279279        /** Defines whether guest size-hint @a fWas for full or seamless screen with @a uScreenIndex. */
    280280        void markLastGuestSizeHintAsFullScreen(ulong uScreenIndex, bool fWas, const QString &strID);
     
    286286
    287287        /** Returns whether automatic mounting/unmounting of guest-screens enabled. */
    288         bool autoMountGuestScreensEnabled(const QString &strID) const;
     288        bool autoMountGuestScreensEnabled(const QString &strID);
    289289
    290290#ifdef VBOX_WITH_VIDEOHWACCEL
    291291        /** Returns whether 2D acceleration should use linear sretch. */
    292         bool useLinearStretch(const QString &strID) const;
     292        bool useLinearStretch(const QString &strID);
    293293        /** Returns whether 2D acceleration should use YV12 pixel format. */
    294         bool usePixelFormatYV12(const QString &strID) const;
     294        bool usePixelFormatYV12(const QString &strID);
    295295        /** Returns whether 2D acceleration should use UYVY pixel format. */
    296         bool usePixelFormatUYVY(const QString &strID) const;
     296        bool usePixelFormatUYVY(const QString &strID);
    297297        /** Returns whether 2D acceleration should use YUY2 pixel format. */
    298         bool usePixelFormatYUY2(const QString &strID) const;
     298        bool usePixelFormatYUY2(const QString &strID);
    299299        /** Returns whether 2D acceleration should use AYUV pixel format. */
    300         bool usePixelFormatAYUV(const QString &strID) const;
     300        bool usePixelFormatAYUV(const QString &strID);
    301301#endif /* VBOX_WITH_VIDEOHWACCEL */
    302302
    303303        /** Returns Runtime UI HiDPI optimization type. */
    304         HiDPIOptimizationType hiDPIOptimizationType(const QString &strID) const;
     304        HiDPIOptimizationType hiDPIOptimizationType(const QString &strID);
    305305
    306306        /** Returns whether mini-toolbar is enabled for full and seamless screens. */
    307         bool miniToolbarEnabled(const QString &strID) const;
     307        bool miniToolbarEnabled(const QString &strID);
    308308        /** Defines whether mini-toolbar is @a fEnabled for full and seamless screens. */
    309309        void setMiniToolbarEnabled(bool fEnabled, const QString &strID);
    310310
    311311        /** Returns whether mini-toolbar should auto-hide itself. */
    312         bool autoHideMiniToolbar(const QString &strID) const;
     312        bool autoHideMiniToolbar(const QString &strID);
    313313        /** Defines whether mini-toolbar should @a fAutoHide itself. */
    314314        void setAutoHideMiniToolbar(bool fAutoHide, const QString &strID);
    315315
    316316        /** Returns mini-toolbar alignment. */
    317         Qt::AlignmentFlag miniToolbarAlignment(const QString &strID) const;
     317        Qt::AlignmentFlag miniToolbarAlignment(const QString &strID);
    318318        /** Returns mini-toolbar @a alignment. */
    319319        void setMiniToolbarAlignment(Qt::AlignmentFlag alignment, const QString &strID);
    320320
    321321        /** Returns restricted Runtime UI status-bar indicators. */
    322         QList<IndicatorType> restrictedStatusBarIndicators(const QString &strID) const;
     322        QList<IndicatorType> restrictedStatusBarIndicators(const QString &strID);
    323323
    324324#ifdef Q_WS_MAC
    325325        /** Mac OS X: Returns whether 'presentation mode' enabled. */
    326         bool presentationModeEnabled(const QString &strID) const;
     326        bool presentationModeEnabled(const QString &strID);
    327327
    328328        /** Mac OS X: Returns whether Dock icon should be updated at runtime. */
    329         bool realtimeDockIconUpdateEnabled(const QString &strID) const;
     329        bool realtimeDockIconUpdateEnabled(const QString &strID);
    330330        /** Mac OS X: Defines whether Dock icon update should be fEnabled at runtime. */
    331331        void setRealtimeDockIconUpdateEnabled(bool fEnabled, const QString &strID);
    332332
    333333        /** Mac OS X: Returns guest-screen which Dock icon should reflect at runtime. */
    334         int realtimeDockIconUpdateMonitor(const QString &strID) const;
     334        int realtimeDockIconUpdateMonitor(const QString &strID);
    335335        /** Mac OS X: Defines guest-screen @a iIndex which Dock icon should reflect at runtime. */
    336336        void setRealtimeDockIconUpdateMonitor(int iIndex, const QString &strID);
     
    338338
    339339        /** Returns whether machine should pass CAD to guest. */
    340         bool passCADtoGuest(const QString &strID) const;
     340        bool passCADtoGuest(const QString &strID);
    341341
    342342        /** Returns redefined guru-meditation handler type. */
    343         GuruMeditationHandlerType guruMeditationHandlerType(const QString &strID) const;
     343        GuruMeditationHandlerType guruMeditationHandlerType(const QString &strID);
    344344
    345345        /** Returns whether machine should perform HID LEDs synchronization. */
    346         bool hidLedsSyncState(const QString &strID) const;
     346        bool hidLedsSyncState(const QString &strID);
    347347    /** @} */
    348348
     
    350350      * @{ */
    351351        /** Returns information-window geometry using @a pWidget and @a pParentWidget as hints. */
    352         QRect informationWindowGeometry(QWidget *pWidget, QWidget *pParentWidget, const QString &strID) const;
     352        QRect informationWindowGeometry(QWidget *pWidget, QWidget *pParentWidget, const QString &strID);
    353353        /** Returns whether information-window should be maximized or not. */
    354         bool informationWindowShouldBeMaximized(const QString &strID) const;
     354        bool informationWindowShouldBeMaximized(const QString &strID);
    355355        /** Defines information-window @a geometry and @a fMaximized state. */
    356356        void setInformationWindowGeometry(const QRect &geometry, bool fMaximized, const QString &strID);
     
    360360      * @{ */
    361361        /** Returns default machine close action. */
    362         MachineCloseAction defaultMachineCloseAction(const QString &strID) const;
     362        MachineCloseAction defaultMachineCloseAction(const QString &strID);
    363363        /** Returns restricted machine close actions. */
    364         MachineCloseAction restrictedMachineCloseActions(const QString &strID) const;
     364        MachineCloseAction restrictedMachineCloseActions(const QString &strID);
    365365
    366366        /** Returns last machine close action. */
    367         MachineCloseAction lastMachineCloseAction(const QString &strID) const;
     367        MachineCloseAction lastMachineCloseAction(const QString &strID);
    368368        /** Defines last @a machineCloseAction. */
    369369        void setLastMachineCloseAction(MachineCloseAction machineCloseAction, const QString &strID);
    370370
    371371        /** Returns machine close hook script name as simple string. */
    372         QString machineCloseHookScript(const QString &strID) const;
     372        QString machineCloseHookScript(const QString &strID);
    373373    /** @} */
    374374
     
    377377      * @{ */
    378378        /** Returns debug flag value for passed @a strDebugFlagKey. */
    379         QString debugFlagValue(const QString &strDebugFlagKey) const;
     379        QString debugFlagValue(const QString &strDebugFlagKey);
    380380    /** @} */
    381381#endif /* VBOX_WITH_DEBUGGER_GUI */
     
    407407
    408408    /** Hot-load machine extra-data map. */
    409     void hotloadMachineExtraDataMap(const QString &strID) const;
     409    void hotloadMachineExtraDataMap(const QString &strID);
    410410
    411411    /** Determines whether feature corresponding to passed @a strKey is allowed.
    412412      * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
    413     bool isFeatureAllowed(const QString &strKey, const QString &strID = GlobalID) const;
     413    bool isFeatureAllowed(const QString &strKey, const QString &strID = GlobalID);
    414414    /** Determines whether feature corresponding to passed @a strKey is restricted.
    415415      * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
    416     bool isFeatureRestricted(const QString &strKey, const QString &strID = GlobalID) const;
     416    bool isFeatureRestricted(const QString &strKey, const QString &strID = GlobalID);
    417417
    418418    /** Translates bool flag into 'allowed' value. */
     
    423423    /** Returns extra-data value corresponding to passed @a strKey as QString.
    424424      * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
    425     QString extraDataString(const QString &strKey, const QString &strID = GlobalID) const;
     425    QString extraDataString(const QString &strKey, const QString &strID = GlobalID);
    426426    /** Defines extra-data value corresponding to passed @a strKey as strValue.
    427427      * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
     
    430430    /** Returns extra-data value corresponding to passed @a strKey as QStringList.
    431431      * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
    432     QStringList extraDataStringList(const QString &strKey, const QString &strID = GlobalID) const;
     432    QStringList extraDataStringList(const QString &strKey, const QString &strID = GlobalID);
    433433    /** Defines extra-data value corresponding to passed @a strKey as strValue.
    434434      * If valid @a strID is set => applies to machine extra-data, otherwise => to global one. */
     
    448448
    449449    /** Holds extra-data map instance. */
    450     mutable QMap<QString, ExtraDataMap> m_data;
     450    QMap<QString, ExtraDataMap> m_data;
    451451};
    452452
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