Warning, file /include/QtGui/qscreen_platform.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004 #ifndef QSCREEN_PLATFORM_H
0005 #define QSCREEN_PLATFORM_H
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include <QtGui/qtguiglobal.h>
0017
0018 #include <QtCore/qnativeinterface.h>
0019 #include <QtGui/qguiapplication.h>
0020
0021 #if defined(Q_OS_WIN32)
0022 #include <QtGui/qwindowdefs_win.h>
0023 #endif
0024
0025 #if QT_CONFIG(wayland)
0026 struct wl_output;
0027 #endif
0028
0029 QT_BEGIN_NAMESPACE
0030
0031 namespace QNativeInterface {
0032
0033 #if defined(Q_OS_WIN32) || defined(Q_QDOC)
0034 struct Q_GUI_EXPORT QWindowsScreen
0035 {
0036 QT_DECLARE_NATIVE_INTERFACE(QWindowsScreen, 1, QScreen)
0037 virtual HMONITOR handle() const = 0;
0038 };
0039 #endif
0040
0041 #if QT_CONFIG(wayland) || defined(Q_QDOC)
0042 struct Q_GUI_EXPORT QWaylandScreen
0043 {
0044 QT_DECLARE_NATIVE_INTERFACE(QWaylandScreen, 1, QScreen)
0045 virtual wl_output *output() const = 0;
0046 };
0047 #endif
0048
0049 #if defined(Q_OS_ANDROID) || defined(Q_QDOC)
0050 struct Q_GUI_EXPORT QAndroidScreen
0051 {
0052 QT_DECLARE_NATIVE_INTERFACE(QAndroidScreen, 1, QScreen)
0053 virtual int displayId() const = 0;
0054 };
0055 #endif
0056
0057 }
0058
0059 QT_END_NAMESPACE
0060
0061 #endif