path: root/src/gui/kernel/qwindowsysteminterface.h
diff options
authorJosé Dapena Paz <>2013-01-08 20:17:05 +0100
committerThe Qt Project <>2013-02-08 20:23:00 +0100
commit9b90ab99141fba6730098178a456a48a6f2f68b0 (patch)
treefe695ec519b1b4a7f39cdea65224507f0c4be408 /src/gui/kernel/qwindowsysteminterface.h
parentbfa1584162960a76170f941d490014f070e4a676 (diff)
Add QWindowSystemInterface::handleFileOpen(const QUrl&)
In some cases, the call to handleFileOpen may receive a non local URL. With previous API, there was no way to pass it to other layers. With this change, any platform plugin creating this event can directly pass a URL. Change-Id: Ibd7299ad6c09527e1db979840bd67726882efb9b Reviewed-by: Jose Dapena Paz <> Reviewed-by: Thiago Macieira <> Reviewed-by: Paul Olav Tvete <>
Diffstat (limited to 'src/gui/kernel/qwindowsysteminterface.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwindowsysteminterface.h b/src/gui/kernel/qwindowsysteminterface.h
index 7582f092a3..72bebe19fe 100644
--- a/src/gui/kernel/qwindowsysteminterface.h
+++ b/src/gui/kernel/qwindowsysteminterface.h
@@ -158,6 +158,7 @@ public:
static void handleThemeChange(QWindow *tlw);
static void handleFileOpenEvent(const QString& fileName);
+ static void handleFileOpenEvent(const QUrl &url);
static void handleTabletEvent(QWindow *w, ulong timestamp, bool down, const QPointF &local, const QPointF &global,
int device, int pointerType, qreal pressure, int xTilt, int yTilt,