summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorLaszlo Papp <lpapp@kde.org>2013-01-25 00:23:39 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-25 14:49:32 +0100
commite3ac2b6392bfd1449f94393804fe7f4b4207b5a7 (patch)
tree632a914fd9789ec12dc617b50e0c6fbc53b3c057 /src/gui
parentff1b65a58c21a77d00f75581a7492c2fafd67ae8 (diff)
Minor QWindow documentation improvement for the accessor/mutators
Change-Id: I003e5dbf1e87fd98cb24c2efdfd39560326f2731 Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qwindow.cpp12
1 files 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