From de09aefcd69c77a0cfae4e28f974017318b767a9 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 17 May 2022 22:46:39 +0200 Subject: [qtx11extras] Replace references to QDesktopWidget with QScreen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QDesktopWidget doesn't exist any more Pick-to: 6.3 6.2 Change-Id: Ie4e2f9ce14ebe89b52224a0be798cd3cc9ff6134 Reviewed-by: Volker Hilsheimer Reviewed-by: Tor Arne Vestbø --- src/gui/platform/unix/qtx11extras.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gui') diff --git a/src/gui/platform/unix/qtx11extras.cpp b/src/gui/platform/unix/qtx11extras.cpp index 00bf1b1a5a..b21561fca4 100644 --- a/src/gui/platform/unix/qtx11extras.cpp +++ b/src/gui/platform/unix/qtx11extras.cpp @@ -44,7 +44,7 @@ static QScreen *findScreenForVirtualDesktop(int virtualDesktopNumber) application. \warning This class is only available on X11. For querying - per-screen information in a portable way, use QDesktopWidget. + per-screen information in a portable way, use QScreen. */ /*! @@ -70,7 +70,7 @@ bool QX11Info::isPlatformX11() The \a screen argument is an X screen number. Be aware that if the user's system uses Xinerama (as opposed to traditional X11 - multiscreen), there is only one X screen. Use QDesktopWidget to + multiscreen), there is only one X screen. Use QScreen to query for information about Xinerama screens. \sa appDpiY() @@ -97,7 +97,7 @@ int QX11Info::appDpiX(int screen) The \a screen argument is an X screen number. Be aware that if the user's system uses Xinerama (as opposed to traditional X11 - multiscreen), there is only one X screen. Use QDesktopWidget to + multiscreen), there is only one X screen. Use QScreen to query for information about Xinerama screens. \sa appDpiX() @@ -123,7 +123,7 @@ int QX11Info::appDpiY(int screen) The \a screen argument is an X screen number. Be aware that if the user's system uses Xinerama (as opposed to traditional X11 - multiscreen), there is only one X screen. Use QDesktopWidget to + multiscreen), there is only one X screen. Use QScreen to query for information about Xinerama screens. */ quint32 QX11Info::appRootWindow(int screen) @@ -152,7 +152,7 @@ quint32 QX11Info::appRootWindow(int screen) are combined in one X11 screen. This means this method returns the same number for each of the physical monitors. In such a setup you are interested in the monitor information as provided by the X11 - RandR extension. This is available through QDesktopWidget and QScreen. + RandR extension. This is available through QScreen. \sa display() */ -- cgit v1.2.3