doc: Fix remaining qdoc warnings in platformheaders
clang needed to see so type definitions that aren't there for some platforms, so this update provides defaults when qdoc is running. Change-Id: I15e635b31dd651457f828f90c8dd132959c826e6 Reviewed-by: Martin Smith <martin.smith@qt.io>bb10
parent
d2bb79be5e
commit
41a6877fe8
|
|
@ -95,3 +95,48 @@
|
|||
\internal
|
||||
\preliminary
|
||||
*/
|
||||
|
||||
/*!
|
||||
\typedef QEglFSFunctions::Vsp2AddBlendListenerType
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\typedef QEglFSFunctions::Vsp2AddLayerType
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\typedef QEglFSFunctions::Vsp2RemoveLayerType
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\typedef QEglFSFunctions::Vsp2SetLayerBufferType
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*!
|
||||
\typedef QEglFSFunctions::Vsp2SetLayerPositionType
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*! \fn QByteArray QEglFSFunctions::vsp2AddBlendListenerTypeIdentifier()
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*! \fn QByteArray QEglFSFunctions::vsp2AddLayerTypeIdentifier()
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*! \fn QByteArray QEglFSFunctions::vsp2RemoveLayerTypeIdentifier()
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*! \fn QByteArray QEglFSFunctions::vsp2SetLayerBufferTypeIdentifier()
|
||||
\internal
|
||||
*/
|
||||
|
||||
/*! \fn QByteArray QEglFSFunctions::vsp2SetLayerPositionTypeIdentifier()
|
||||
\internal
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -45,6 +45,10 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#if defined(Q_CLANG_QDOC)
|
||||
typedef void NSOpenGLContext;
|
||||
#endif
|
||||
|
||||
struct QCocoaNativeContext
|
||||
{
|
||||
QCocoaNativeContext()
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#if defined(Q_CLANG_QDOC)
|
||||
typedef int EGLContext;
|
||||
typedef int EGLDisplay;
|
||||
#endif
|
||||
|
||||
struct QEGLNativeContext
|
||||
{
|
||||
QEGLNativeContext()
|
||||
|
|
|
|||
|
|
@ -46,6 +46,13 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#if defined(Q_CLANG_QDOC)
|
||||
typedef int GLXContext;
|
||||
typedef void Display;
|
||||
typedef int Window;
|
||||
typedef int VisualID;
|
||||
#endif
|
||||
|
||||
struct QGLXNativeContext
|
||||
{
|
||||
QGLXNativeContext()
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
|
||||
/*!
|
||||
\fn QGLXNativeContext::QGLXNativeContext(GLXContext ctx, Display *dpy = 0, Window wnd = 0, VisualID vid = 0)
|
||||
\fn QGLXNativeContext::QGLXNativeContext(GLXContext ctx, Display *dpy, Window wnd, VisualID vid)
|
||||
|
||||
Constructs a new instance with the provided \a ctx, \a dpy, \a wnd, \a vid handles.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -46,6 +46,11 @@
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#if defined(Q_CLANG_QDOC)
|
||||
typedef int HGLRC;
|
||||
typedef int HWND;
|
||||
#endif
|
||||
|
||||
class QWGLNativeContext
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -124,7 +124,7 @@
|
|||
*/
|
||||
|
||||
/*!
|
||||
\fn QByteArray setWindowActivationBehaviorIdentifier()
|
||||
\fn QByteArray QWindowsWindowFunctions::setWindowActivationBehaviorIdentifier()
|
||||
|
||||
This function returns a bytearray that can be used to query
|
||||
QGuiApplication::platformFunction() to retrieve the SetWindowActivationBehaviorType
|
||||
|
|
|
|||
Loading…
Reference in New Issue