summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qurl.h
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2013-04-25 10:01:23 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-07-08 15:20:47 +0200
commit10023de7a8e5a90a2be2ddbcf8a659d309b61c97 (patch)
tree0f431194b6a3b6fb3bf4a6df0665723f1b61a05f /src/corelib/io/qurl.h
parent602c911820fd8b0832dba64b37b3110580f381ae (diff)
QUrl: add RemoveFilename to UrlFormattingOptions.
This allows to find the parent directory url using url.adjusted(QUrl::RemoveFilename). Change-Id: I1ca433ac67e4f93080de54a9b7ab2e538509ed04 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qurl.h')
-rw-r--r--src/corelib/io/qurl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/corelib/io/qurl.h b/src/corelib/io/qurl.h
index cb7bcf5409..98cf760dec 100644
--- a/src/corelib/io/qurl.h
+++ b/src/corelib/io/qurl.h
@@ -136,7 +136,8 @@ public:
RemoveFragment = 0x80,
// 0x100 was a private code in Qt 4, keep unused for a while
PreferLocalFile = 0x200,
- StripTrailingSlash = 0x400
+ StripTrailingSlash = 0x400,
+ RemoveFilename = 0x800
};
enum ComponentFormattingOption {