Obsolete Members for QDesktopWidget
The following members of class QDesktopWidget are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
(obsolete)primaryScreen : const int(obsolete)screenCount : const int(obsolete)virtualDesktop : const bool
Public Functions
(obsolete) bool | isVirtualDesktop() const |
(obsolete) int | primaryScreen() const |
(obsolete) int | screenCount() const |
Signals
(obsolete) void | primaryScreenChanged() |
(obsolete) void | screenCountChanged(int) |
Property Documentation
primaryScreen : const int
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
This property holds the index of the screen that is configured to be the primary screen on the system.
Use QGuiApplication::primaryScreen() instead.
Access functions:
| int | primaryScreen() const |
Notifier signal:
| void | primaryScreenChanged() |
screenCount : const int
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
This property holds the number of screens currently available on the system.
Use QGuiApplication::screens() instead.
This property was introduced in Qt 4.6.
Access functions:
| int | screenCount() const |
Notifier signal:
| void | screenCountChanged(int) |
virtualDesktop : const bool
This property is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
if the system manages the available screens in a virtual desktop.
For virtual desktops, screen() will always return the same widget. The size of the virtual desktop is the size of this desktop widget.
Use QScreen::virtualSiblings() of primary screen instead.
Access functions:
| bool | isVirtualDesktop() const |