Added missing \since 5.0 and tweaked some docs in QtGui.

Change-Id: I91564f7a61962f97b9fb78c96d94d5695a3924db
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
This commit is contained in:
Samuel Rødal 2012-03-15 15:55:46 +01:00 committed by Qt by Nokia
parent c0291177a1
commit 5728c8a8e7
8 changed files with 19 additions and 4 deletions

View File

@ -1146,12 +1146,13 @@ QMoveEvent::~QMoveEvent()
/*! /*!
\class QExposeEvent \class QExposeEvent
\since 5.0
\brief The QExposeEvent class contains event parameters for expose events. \brief The QExposeEvent class contains event parameters for expose events.
\ingroup events \ingroup events
Expose events are sent to widgets when an area of the widget is invalidated Expose events are sent to windows when an area of the window is invalidated
and needs to be flushed from the backing store. or window visibility in the windowing system changes.
The event handler QWindow::exposeEvent() receives expose events. The event handler QWindow::exposeEvent() receives expose events.
*/ */
@ -1761,9 +1762,11 @@ void QInputMethodEvent::setTentativeCommitString(const QString &tentativeCommitS
\sa setTentativeCommitString() \sa setTentativeCommitString()
*/ */
/*! \class QInputMethodQueryEvent /*!
\class QInputMethodQueryEvent
\since 5.0
This event is sent by the input context to input objects. \brief This event is sent by the input context to input objects.
It is used by the It is used by the
input method to query a set of properties of the object to be input method to query a set of properties of the object to be

View File

@ -195,6 +195,7 @@ static inline void clearFontUnlocked()
flow and main settings. flow and main settings.
\inmodule QtGui \inmodule QtGui
\since 5.0
QGuiApplication contains the main event loop, where all events from the window QGuiApplication contains the main event loop, where all events from the window
system and other sources are processed and dispatched. It also handles the system and other sources are processed and dispatched. It also handles the

View File

@ -76,6 +76,7 @@ QMutex QOpenGLContextPrivate::makeCurrentTrackerMutex;
/*! /*!
\class QOpenGLContext \class QOpenGLContext
\since 5.0
\brief The QOpenGLContext represents a native OpenGL context, enabling \brief The QOpenGLContext represents a native OpenGL context, enabling
OpenGL rendering on a QSurface. OpenGL rendering on a QSurface.
@ -621,6 +622,7 @@ void QOpenGLContext::deleteQGLContext()
/*! /*!
\class QOpenGLContextGroup \class QOpenGLContextGroup
\since 5.0
\brief The QOpenGLContextGroup represents a group of contexts sharing \brief The QOpenGLContextGroup represents a group of contexts sharing
OpenGL resources. OpenGL resources.

View File

@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE
/*! /*!
\class QScreen \class QScreen
\since 5.0
\brief The QScreen class is used to query screen properties. \brief The QScreen class is used to query screen properties.
A note on logical vs physical dots per inch: physical DPI is based on the A note on logical vs physical dots per inch: physical DPI is based on the

View File

@ -50,6 +50,11 @@ static inline QVariant hint(QPlatformIntegration::StyleHint h)
return QGuiApplicationPrivate::platformIntegration()->styleHint(h); return QGuiApplicationPrivate::platformIntegration()->styleHint(h);
} }
/*!
\class QStyleHints
\since 5.0
\brief The QStyleHints contains platform specific hints and settings.
*/
QStyleHints::QStyleHints() QStyleHints::QStyleHints()
: QObject() : QObject()
{ {

View File

@ -46,6 +46,7 @@ QT_BEGIN_NAMESPACE
/*! /*!
\class QSurface \class QSurface
\since 5.0
\brief The QSurface class is an abstraction of renderable surfaces in Qt. \brief The QSurface class is an abstraction of renderable surfaces in Qt.
The size of the surface is accessible with the size() function. The rendering The size of the surface is accessible with the size() function. The rendering

View File

@ -108,6 +108,7 @@ public:
/*! /*!
\class QSurfaceFormat \class QSurfaceFormat
\since 5.0
\brief The QSurfaceFormat class represents the format of a QSurface. \brief The QSurfaceFormat class represents the format of a QSurface.
The format includes the size of the color buffers, red, green, and blue; The format includes the size of the color buffers, red, green, and blue;

View File

@ -63,6 +63,7 @@ QT_BEGIN_NAMESPACE
/*! /*!
\class QWindow \class QWindow
\since 5.0
\brief The QWindow class represents a window in the underlying windowing system. \brief The QWindow class represents a window in the underlying windowing system.
A window that is supplied a parent becomes a native child window of A window that is supplied a parent becomes a native child window of