KDECore
kurl.h
Go to the documentation of this file.
111 class KDECORE_EXPORT KUrl : public QUrl // krazy:exclude=dpointer,qclasses (krazy can't deal with embedded classes)
135 AddTrailingSlash
146 class KDECORE_EXPORT List : public QList<KUrl> //krazy:exclude=dpointer (just some convenience methods)
303 PreferKdeUrls
469 SimplifyDirSeparators = 0x00,
474 KeepDirSeparators = 0x01
529 PermitEmptyPath=0x00,
534 AvoidEmptyPath=0x01
546 QString encodedPathAndQuery( AdjustPathOption trailing = LeaveTrailingSlash, const EncodedPathAndQueryOptions &options = PermitEmptyPath ) const;
743 ObeyTrailingSlash = 0x02,
752 AppendTrailingSlash = 0x04,
757 IgnoreTrailingSlash = 0x01
847 QString pathOrUrl(AdjustPathOption trailing) const; // KDE5: merge with above. Rename to toUrlOrLocalFile?
915 CompareWithoutTrailingSlash = 0x01,
919 CompareWithoutFragment = 0x02,
929 AllowEmptyPath = 0x04
1056 return QString::fromLatin1( QUrl::toPercentEncoding( str ).constData() ); //krazy:exclude=qclasses
1073 return QString::fromLatin1( QUrl::toPercentEncoding( str, "/" ).constData() ); //krazy:exclude=qclasses
1169 KDECORE_EXPORT_DEPRECATED bool urlcmp( const QString& _url1, const QString& _url2 ); // KDE5: remove, KUrl::equals is better API
1185 KDECORE_EXPORT_DEPRECATED bool urlcmp( const QString& _url1, const QString& _url2, const KUrl::EqualsOptions& options ); // KDE5: remove, KUrl::equals is better API
strips a trailing '/', except when the path is already just "/".
Definition: kurl.h:125
static QString encode_string(const QString &str)
Convert unicoded string to local encoding and use %-style encoding for all common delimiters / non-as...
Definition: kurl.h:1055
static QString decode_string(const QString &str)
Decode %-style encoding and convert from local encoding to unicode.
Definition: kurl.h:1088
void ref()
Tells KGlobal about one more operations that should be finished before the application exits...
Definition: kglobal.cpp:320
static QString encode_string_no_slash(const QString &str)
Convert unicoded string to local encoding and use %-style encoding for all common delimiters / non-as...
Definition: kurl.h:1072
KUrl::List is a QList that contains KUrls with a few convenience methods.
Definition: kurl.h:146
When the mimedata contains both KDE-style URLs (eg: desktop:/foo) and the "most local" version of the...
Definition: kurl.h:296
EqualsOption
Flags to be used in URL comparison functions like equals, or urlcmp.
Definition: kurl.h:903
Definition: kuitsemantics.cpp:84
Definition: kaboutdata.h:33
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Sat May 31 2014 00:00:56 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Sat May 31 2014 00:00:56 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.