Changeset 63173 in vbox for trunk/src/VBox
- Timestamp:
- Aug 8, 2016 2:46:46 PM (8 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.cpp
r63044 r63173 146 146 } 147 147 148 int UIDesktopWidgetWatchdog::overallDesktopWidth() const 149 { 150 /* Redirect call to desktop-widget: */ 151 return QApplication::desktop()->width(); 152 } 153 154 int UIDesktopWidgetWatchdog::overallDesktopHeight() const 155 { 156 /* Redirect call to desktop-widget: */ 157 return QApplication::desktop()->height(); 158 } 159 148 160 int UIDesktopWidgetWatchdog::screenCount() const 149 161 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDesktopWidgetWatchdog.h
r63044 r63173 63 63 /** Destroys the static instance of the desktop-widget watchdog. */ 64 64 static void destroy(); 65 66 /** Returns overall desktop width. */ 67 int overallDesktopWidth() const; 68 /** Returns overall desktop height. */ 69 int overallDesktopHeight() const; 65 70 66 71 /** Returns the number of host-screens currently available on the system. */
Note:
See TracChangeset
for help on using the changeset viewer.