summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_qpa.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-05-12 18:24:33 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-05-12 18:24:33 (GMT)
commitf32438ffccd8728143b93399e7cd251e72d23b55 (patch)
tree7ccaaa83ebc5e1e639de76e693d944e08c7366c1 /src/gui/kernel/qwidget_qpa.cpp
parent2142c3b8d7d88da290d5ba5c489dcb6145a96be0 (diff)
downloadQt-f32438ffccd8728143b93399e7cd251e72d23b55.zip
Qt-f32438ffccd8728143b93399e7cd251e72d23b55.tar.gz
Qt-f32438ffccd8728143b93399e7cd251e72d23b55.tar.bz2
Doc: Fixed qdoc warnings.
Diffstat (limited to 'src/gui/kernel/qwidget_qpa.cpp')
-rw-r--r--src/gui/kernel/qwidget_qpa.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gui/kernel/qwidget_qpa.cpp b/src/gui/kernel/qwidget_qpa.cpp
index 001810e..321eaa3 100644
--- a/src/gui/kernel/qwidget_qpa.cpp
+++ b/src/gui/kernel/qwidget_qpa.cpp
@@ -681,8 +681,10 @@ int QWidget::metric(PaintDeviceMetric m) const
/*!
\preliminary
- Sets the window to be the \a window specified.
- The QWidget takes ownership of the \a surface.
+ Sets the window to be the platform \a window specified.
+
+ The widget takes ownership of the \a window. Any platform window
+ previously set on the widget will be destroyed.
*/
void QWidget::setPlatformWindow(QPlatformWindow *window)
{
@@ -711,6 +713,9 @@ QPlatformWindow *QWidget::platformWindow() const
return 0;
}
+/*!
+ Sets the platform window format for the widget to the \a format specified.
+*/
void QWidget::setPlatformWindowFormat(const QPlatformWindowFormat &format)
{
if (isWindow() || testAttribute(Qt::WA_NativeWindow)) {
@@ -727,6 +732,9 @@ void QWidget::setPlatformWindowFormat(const QPlatformWindowFormat &format)
}
}
+/*!
+ Returns the platform window format for the widget.
+*/
QPlatformWindowFormat QWidget::platformWindowFormat() const
{
Q_D(const QWidget);