From e3ac2b6392bfd1449f94393804fe7f4b4207b5a7 Mon Sep 17 00:00:00 2001 From: Laszlo Papp Date: Fri, 25 Jan 2013 00:23:39 +0000 Subject: [PATCH] Minor QWindow documentation improvement for the accessor/mutators MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I003e5dbf1e87fd98cb24c2efdfd39560326f2731 Reviewed-by: Samuel Rødal --- src/gui/kernel/qwindow.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp index 27881c9db3..db19aa9366 100644 --- a/src/gui/kernel/qwindow.cpp +++ b/src/gui/kernel/qwindow.cpp @@ -216,7 +216,7 @@ QWindow::~QWindow() } /*! - Set the \a surfaceType of the window. + Sets the \a surfaceType of the window. Specifies whether the window is meant for raster rendering with QBackingStore, or OpenGL rendering with QOpenGLContext. @@ -593,7 +593,7 @@ QString QWindow::filePath() const } /*! - \brief set the window's \a icon in the windowing system + \brief Sets the window's \a icon in the windowing system The window icon might be used by the windowing system for example to decorate the window, and/or in the task switcher. @@ -607,7 +607,7 @@ void QWindow::setIcon(const QIcon &icon) } /*! - \brief set the window's icon in the windowing system + \brief Sets the window's icon in the windowing system \sa setIcon() */ @@ -1212,14 +1212,14 @@ void QWindow::setPosition(int posx, int posy) /*! \fn QPoint QWindow::position() const - \brief get the position of the window on the desktop excluding any window frame + \brief Returns the position of the window on the desktop excluding any window frame \sa setPosition() */ /*! \fn QSize QWindow::size() const - \brief get the size of the window excluding any window frame + \brief Returns the size of the window excluding any window frame \sa resize() */ @@ -1298,7 +1298,7 @@ QPlatformSurface *QWindow::surfaceHandle() const } /*! - Set whether keyboard grab should be enabled or not (\a grab). + Sets whether keyboard grab should be enabled or not (\a grab). If the return value is true, the window receives all key events until setKeyboardGrabEnabled(false) is called; other windows get no key events at