diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-23 13:46:18 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-23 13:46:18 +0200 |
commit | 1894da818656dd69a1309ecb7ce7ff816481ecfa (patch) | |
tree | bb58330182a9346f1e56e4a313ad665029861a17 /src/gui/kernel/qwindow.h | |
parent | c5d1f239426b4cf9b3ddc0f34fd1514504dfb985 (diff) |
Added QWindow::setTransientParent().
Make the transient parent relationship explicit instead of having it
encoded through the window flags.
Diffstat (limited to 'src/gui/kernel/qwindow.h')
-rw-r--r-- | src/gui/kernel/qwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 998a48fb42..5b002a4791 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -119,6 +119,9 @@ public: Qt::WindowState windowState() const; void setWindowState(Qt::WindowState state); + void setTransientParent(QWindow *parent); + QWindow *transientParent() const; + QSize minimumSize() const; QSize maximumSize() const; QSize baseSize() const; |