diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-11-19 10:58:59 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-11-22 13:14:19 (GMT) |
commit | b24c0c77610c29442d538d4d33d6e0c53e88ae00 (patch) | |
tree | db0e663064d9d7ffb477dd6d9e71ba24c8cd6134 /src/gui/painting/qwindowsurface.cpp | |
parent | 292f6a9ba1b5da049e4898525974c6f0575ccd65 (diff) | |
download | Qt-b24c0c77610c29442d538d4d33d6e0c53e88ae00.zip Qt-b24c0c77610c29442d538d4d33d6e0c53e88ae00.tar.gz Qt-b24c0c77610c29442d538d4d33d6e0c53e88ae00.tar.bz2 |
Adding some documentation for Lighthouse
The spirit here is "something is better than nothing". Ie. its the first
itteration of documenting the classes. No general Lighthouse
introduction yet...
Diffstat (limited to 'src/gui/painting/qwindowsurface.cpp')
-rw-r--r-- | src/gui/painting/qwindowsurface.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gui/painting/qwindowsurface.cpp b/src/gui/painting/qwindowsurface.cpp index e9eb9c5..3ee8281 100644 --- a/src/gui/painting/qwindowsurface.cpp +++ b/src/gui/painting/qwindowsurface.cpp @@ -74,7 +74,7 @@ public: \since 4.3 \internal \preliminary - \ingroup qws + \ingroup qws qpa \brief The QWindowSurface class provides the drawing area for top-level windows. @@ -179,11 +179,20 @@ QRect QWindowSurface::geometry() const return d_ptr->geometry; } #else + +/*! + Sets the size of the windowsurface to be \a size. + + \sa size() +*/ void QWindowSurface::resize(const QSize &size) { d_ptr->size = size; } +/*! + Returns the current size of the windowsurface. +*/ QSize QWindowSurface::size() const { return d_ptr->size; |