diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-07-25 08:40:24 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-25 15:06:46 +0200 |
commit | d7e37537d4fa2127e6ec404b9f8358337f63d9b1 (patch) | |
tree | d1aca9a4f2af9baf9a9a571b4bcaa64ee711ec45 /src/gui/kernel/qguiapplication_p.h | |
parent | 5ec08045837a5c689487b03a828f6ac4923375f6 (diff) |
Reintroduce -geometry command line argument for X11/XCB.
Add parsing for the window geometry specification to
QGuiApplicationPrivate. Enable the argument under a different
name for the other platforms as well.
Task-number: QTBUG-27349
Change-Id: I973b2c69f5172f7d0bc983b8ba4b0d164649ef02
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/gui/kernel/qguiapplication_p.h')
-rw-r--r-- | src/gui/kernel/qguiapplication_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qguiapplication_p.h b/src/gui/kernel/qguiapplication_p.h index 3a4b692b69..11f68ba2ff 100644 --- a/src/gui/kernel/qguiapplication_p.h +++ b/src/gui/kernel/qguiapplication_p.h @@ -275,6 +275,8 @@ public: // hook reimplemented in QApplication to apply the QStyle function on the QIcon virtual QPixmap applyQIconStyleHelper(QIcon::Mode, const QPixmap &basePixmap) const { return basePixmap; } + static QRect applyWindowGeometrySpecification(const QRect &windowGeometry, const QWindow *window); + protected: virtual void notifyThemeChanged(); #ifndef QT_NO_DRAGANDDROP |