VirtualBox

Changeset 39108 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Oct 25, 2011 10:18:06 AM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: made two member functions constant.

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

Legend:

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

    r39107 r39108  
    906906}
    907907
    908 UIVisualStateType UIMachineView::visualStateType()
     908UIVisualStateType UIMachineView::visualStateType() const
    909909{
    910910    return machineLogic()->visualStateType();
    911911}
    912912
    913 bool UIMachineView::isFullscreenOrSeamless()
     913bool UIMachineView::isFullscreenOrSeamless() const
    914914{
    915915    return    visualStateType() == UIVisualStateType_Fullscreen
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineView.h

    r39107 r39108  
    175175    bool guestResizeEvent(QEvent *pEvent, bool fFullscreen);
    176176    /** What view mode (normal, fullscreen etc.) are we in? */
    177     UIVisualStateType visualStateType();
     177    UIVisualStateType visualStateType() const;
    178178    /** Is this a fullscreen-type view? */
    179     bool isFullscreenOrSeamless();
     179    bool isFullscreenOrSeamless() const;
    180180    /** Return a string consisting of @a base with a suffix for the active
    181181     * virtual monitor.  Used for storing monitor-specific extra data. */
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