summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/kernel/qwindow.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp
index 400ed29380..55329f56bd 100644
--- a/src/gui/kernel/qwindow.cpp
+++ b/src/gui/kernel/qwindow.cpp
@@ -56,6 +56,20 @@
QT_BEGIN_NAMESPACE
+/*!
+ \class QWindow
+ \brief The QWindow class encapsulates an independent windw in a Windowing System.
+
+ A window that is supplied a parent become a native child window of
+ their parent window.
+
+ Windows can potentially use a lot of memory. A usual measurement is
+ width * height * depth. A window might also include multiple buffers
+ to support double and triple buffering. To release a windows memory
+ resources, the destroy() function.
+
+ */
+
QWindow::QWindow(QScreen *targetScreen)
: QObject(*new QWindowPrivate(), 0)
, QSurface(QSurface::Window)
@@ -624,6 +638,12 @@ void QWindow::setWindowIcon(const QImage &icon) const
qDebug() << "unimplemented:" << __FILE__ << __LINE__;
}
+
+
+/*!
+ Releases the native platform resources associated with this window.
+ */
+
void QWindow::destroy()
{
Q_D(QWindow);