diff options
Diffstat (limited to 'src/gui/platform/windows/qwindowsnativeinterface.cpp')
-rw-r--r-- | src/gui/platform/windows/qwindowsnativeinterface.cpp | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/src/gui/platform/windows/qwindowsnativeinterface.cpp b/src/gui/platform/windows/qwindowsnativeinterface.cpp index e4339c9aa9..7ebddb5b9d 100644 --- a/src/gui/platform/windows/qwindowsnativeinterface.cpp +++ b/src/gui/platform/windows/qwindowsnativeinterface.cpp @@ -3,11 +3,11 @@ #include <QtGui/qopenglcontext.h> #include <QtGui/private/qguiapplication_p.h> -#include <QtGui/private/qwindowsmime_p.h> #include <qpa/qplatformopenglcontext.h> #include <qpa/qplatformintegration.h> #include <qpa/qplatformwindow.h> #include <qpa/qplatformwindow_p.h> +#include <qpa/qplatformscreen_p.h> QT_BEGIN_NAMESPACE @@ -89,6 +89,21 @@ QOpenGLContext *QNativeInterface::QWGLContext::fromNative(HGLRC context, HWND wi QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QWindowsApplication); /*! + \class QNativeInterface::QWindowsScreen + \since 6.7 + \brief Native interface to a screen. + + Accessed through QScreen::nativeInterface(). + \inmodule QtGui + \ingroup native-interfaces + \ingroup native-interfaces-qscreen +*/ +/*! + * \fn HWMONITOR QNativeInterface::QWindowsScreen::handle() const; + * \return The underlying HWMONITOR of the screen. + */ +QT_DEFINE_NATIVE_INTERFACE(QWindowsScreen); +/*! \enum QNativeInterface::Private::QWindowsApplication::TouchWindowTouchType This enum represents the supported TouchWindow touch flags for registerTouchWindow(). @@ -208,21 +223,21 @@ QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QWindowsApplication); */ /*! - \fn bool QNativeInterface::Private::QWindowsApplication::registerMime(QWindowsMime *mime) + \fn bool QNativeInterface::Private::QWindowsApplication::registerMime(QWindowsMimeConverter *mime) \internal Registers the converter \a mime to the system. - \sa QNativeInterface::Private::QWindowsMime, unregisterMime() + \sa QWindowsMimeConverter, unregisterMime() */ /*! - \fn void QNativeInterface::Private::QWindowsApplication::unregisterMime(QWindowsMime *mime) + \fn void QNativeInterface::Private::QWindowsApplication::unregisterMime(QWindowsMimeConverter *mime) \internal Unregisters the converter \a mime from the system. - \sa QNativeInterface::Private::QWindowsMime, registerMime() + \sa QWindowsMimeConverter, registerMime() */ /*! |