summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformwindow.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2012-10-01 12:55:27 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-02 08:06:18 +0200
commit24c403a2bd71578a1978baed1c60f08c12cd62c5 (patch)
treece787724bf5b847c48bb5e6981e49904d9f35803 /src/gui/kernel/qplatformwindow.h
parent07c95ad7f3c2450f0dbb6edfa5e207a03cb88034 (diff)
QWindow::setWindowFilePath added
QWindow::setWindowFilePath sets the file path of the document that is currently represented by the window. The window system might display it in the window's title bar along with an icon matching the file type. Task-number: QTBUG-27299 Change-Id: I8f620d1262fc0b4cd16884198b16853b73ce3b1f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'src/gui/kernel/qplatformwindow.h')
-rw-r--r--src/gui/kernel/qplatformwindow.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformwindow.h b/src/gui/kernel/qplatformwindow.h
index 5586b3c35a..7ea17d05aa 100644
--- a/src/gui/kernel/qplatformwindow.h
+++ b/src/gui/kernel/qplatformwindow.h
@@ -97,6 +97,7 @@ public:
virtual void setParent(const QPlatformWindow *window);
virtual void setWindowTitle(const QString &title);
+ virtual void setWindowFilePath(const QString &title);
virtual void setWindowIcon(const QIcon &icon);
virtual void raise();
virtual void lower();