Added missing \since 5.0 and tweaked some docs in QtGui.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 15 Mar 2012 14:55:46 +0000 (15:55 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Mar 2012 17:05:05 +0000 (18:05 +0100)
Change-Id: I91564f7a61962f97b9fb78c96d94d5695a3924db
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
src/gui/kernel/qevent.cpp
src/gui/kernel/qguiapplication.cpp
src/gui/kernel/qopenglcontext.cpp
src/gui/kernel/qscreen.cpp
src/gui/kernel/qstylehints.cpp
src/gui/kernel/qsurface.cpp
src/gui/kernel/qsurfaceformat.cpp
src/gui/kernel/qwindow.cpp

index 52cb799..57c8bbd 100644 (file)
@@ -1146,12 +1146,13 @@ QMoveEvent::~QMoveEvent()
 
 /*!
     \class QExposeEvent
+    \since 5.0
     \brief The QExposeEvent class contains event parameters for expose events.
 
     \ingroup events
 
-    Expose events are sent to widgets when an area of the widget is invalidated
-    and needs to be flushed from the backing store.
+    Expose events are sent to windows when an area of the window is invalidated
+    or window visibility in the windowing system changes.
 
     The event handler QWindow::exposeEvent() receives expose events.
 */
@@ -1761,9 +1762,11 @@ void QInputMethodEvent::setTentativeCommitString(const QString &tentativeCommitS
     \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
     input method to query a set of properties of the object to be
index ca1ecbe..d726470 100644 (file)
@@ -195,6 +195,7 @@ static inline void clearFontUnlocked()
     flow and main settings.
 
     \inmodule QtGui
+    \since 5.0
 
     QGuiApplication contains the main event loop, where all events from the window
     system and other sources are processed and dispatched. It also handles the
index f9ebf88..eaff417 100644 (file)
@@ -76,6 +76,7 @@ QMutex QOpenGLContextPrivate::makeCurrentTrackerMutex;
 
 /*!
     \class QOpenGLContext
+    \since 5.0
     \brief The QOpenGLContext represents a native OpenGL context, enabling
            OpenGL rendering on a QSurface.
 
@@ -621,6 +622,7 @@ void QOpenGLContext::deleteQGLContext()
 
 /*!
     \class QOpenGLContextGroup
+    \since 5.0
     \brief The QOpenGLContextGroup represents a group of contexts sharing
     OpenGL resources.
 
index da0716b..5d7ffdb 100644 (file)
@@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE
 
 /*!
     \class QScreen
+    \since 5.0
     \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
index c98158b..15fcec2 100644 (file)
@@ -50,6 +50,11 @@ static inline QVariant hint(QPlatformIntegration::StyleHint h)
     return QGuiApplicationPrivate::platformIntegration()->styleHint(h);
 }
 
+/*!
+    \class QStyleHints
+    \since 5.0
+    \brief The QStyleHints contains platform specific hints and settings.
+ */
 QStyleHints::QStyleHints()
     : QObject()
 {
index eb26768..534135c 100644 (file)
@@ -46,6 +46,7 @@ QT_BEGIN_NAMESPACE
 
 /*!
     \class QSurface
+    \since 5.0
     \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
index 9021d82..cc6b621 100644 (file)
@@ -108,6 +108,7 @@ public:
 
 /*!
     \class QSurfaceFormat
+    \since 5.0
     \brief The QSurfaceFormat class represents the format of a QSurface.
 
     The format includes the size of the color buffers, red, green, and blue;
index 91eb7bd..78b6f6f 100644 (file)
@@ -63,6 +63,7 @@ QT_BEGIN_NAMESPACE
 
 /*!
     \class QWindow
+    \since 5.0
     \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