aboutsummaryrefslogtreecommitdiffstats
path: root/src/controls/qquickapplicationwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/qquickapplicationwindow.cpp')
-rw-r--r--src/controls/qquickapplicationwindow.cpp52
1 files changed, 1 insertions, 51 deletions
diff --git a/src/controls/qquickapplicationwindow.cpp b/src/controls/qquickapplicationwindow.cpp
index c642c208..a750ec01 100644
--- a/src/controls/qquickapplicationwindow.cpp
+++ b/src/controls/qquickapplicationwindow.cpp
@@ -60,7 +60,7 @@ class QQuickApplicationWindowPrivate : public QQuickItemChangeListener
Q_DECLARE_PUBLIC(QQuickApplicationWindow)
public:
- QQuickApplicationWindowPrivate() : complete(false), contentWidth(0), contentHeight(0), header(Q_NULLPTR), footer(Q_NULLPTR) { }
+ QQuickApplicationWindowPrivate() : complete(false), header(Q_NULLPTR), footer(Q_NULLPTR) { }
void relayout();
@@ -68,8 +68,6 @@ public:
void itemImplicitHeightChanged(QQuickItem *item) Q_DECL_OVERRIDE;
bool complete;
- qreal contentWidth;
- qreal contentHeight;
QQuickItem *header;
QQuickItem *footer;
QQuickApplicationWindow *q_ptr;
@@ -197,54 +195,6 @@ void QQuickApplicationWindow::setFooter(QQuickItem *footer)
}
}
-/*!
- \qmlproperty real QtQuickControls2::ApplicationWindow::contentWidth
-
- This property is the width of the window content without header and footer.
- Setting it will resize the window accordingly.
- By default the implicit width of the child items is used.
-
- \sa contentHeight
-*/
-qreal QQuickApplicationWindow::contentWidth() const
-{
- Q_D(const QQuickApplicationWindow);
- return d->contentWidth;
-}
-
-void QQuickApplicationWindow::setContentWidth(qreal width)
-{
- Q_D(QQuickApplicationWindow);
- if (d->contentWidth != width) {
- d->contentWidth = width;
- emit contentWidthChanged();
- }
-}
-
-/*!
- \qmlproperty real QtQuickControls2::ApplicationWindow::contentHeight
-
- This property is the height of the window content without header and footer.
- Setting it will resize the window accordingly.
- By default the implicit height of the child items is used.
-
- \sa contentWidth
-*/
-qreal QQuickApplicationWindow::contentHeight() const
-{
- Q_D(const QQuickApplicationWindow);
- return d->contentHeight;
-}
-
-void QQuickApplicationWindow::setContentHeight(qreal height)
-{
- Q_D(QQuickApplicationWindow);
- if (d->contentHeight != height) {
- d->contentHeight = height;
- emit contentHeightChanged();
- }
-}
-
bool QQuickApplicationWindow::isComponentComplete() const
{
Q_D(const QQuickApplicationWindow);