summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwindow_qpa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qwindow_qpa.h')
-rw-r--r--src/gui/kernel/qwindow_qpa.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/kernel/qwindow_qpa.h b/src/gui/kernel/qwindow_qpa.h
index 2e9de57cb6..b13cf9165b 100644
--- a/src/gui/kernel/qwindow_qpa.h
+++ b/src/gui/kernel/qwindow_qpa.h
@@ -53,7 +53,6 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QWindowPrivate;
-class QWidget;
class QResizeEvent;
class QShowEvent;
@@ -84,18 +83,18 @@ public:
QWindow(QWindow *parent = 0);
virtual ~QWindow();
- // to be removed at some point in the future
- QWidget *widget() const;
- void setWidget(QWidget *widget);
-
void setVisible(bool visible);
bool visible() const;
void create();
WId winId() const;
+
+ QWindow *parent() const;
void setParent(QWindow *parent);
+ QWindow *topLevelWindow() const;
+
void setWindowFormat(const QWindowFormat &format);
QWindowFormat requestedWindowFormat() const;
QWindowFormat actualWindowFormat() const;