summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurl.h
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2012-03-02 15:41:51 +0100
committerQt by Nokia <qt-info@nokia.com>2012-03-07 16:13:44 +0100
commita6a7cabcd3b38dbd65570a23a800d7e3800a78d0 (patch)
treefc73fb8da0eef8d3f8ec037e756b2ba90e748332 /src/corelib/io/qurl.h
parente1b2755083c8b30d2062108ea490f9c49729cf3b (diff)
Add QUrl formatting option "PreferLocalFile".
For the readonly case (e.g. progress dialogs), where local file paths look much nicer to end users than file:/// URLs. Change-Id: I899fed27cfb73ebf565389cfd489d2d2fcbeac7c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/io/qurl.h')
-rw-r--r--src/corelib/io/qurl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/io/qurl.h b/src/corelib/io/qurl.h
index 3e5c62cd7c..fc49231594 100644
--- a/src/corelib/io/qurl.h
+++ b/src/corelib/io/qurl.h
@@ -76,6 +76,7 @@ public:
RemoveQuery = 0x40,
RemoveFragment = 0x80,
// 0x100: private: normalized
+ PreferLocalFile = 0x200,
StripTrailingSlash = 0x10000
};