KIO
kremoteencoding.cpp
Go to the documentation of this file.
80 QString dir = url.directory(ignore_trailing_slash ? KUrl::DirectoryOptions(KUrl::IgnoreTrailingSlash) : KUrl::ObeyTrailingSlash);
QString decode(const QByteArray &name) const
Converts the given full pathname or filename to Unicode.
Definition: kremoteencoding.cpp:49
QByteArray encode(const QString &name) const
Converts the given name from Unicode.
Definition: kremoteencoding.cpp:64
QByteArray directory(const KUrl &url, bool ignore_trailing_slash=true) const
Converts the given URL into 8-bit form and separate the dirname from the filename.
Definition: kremoteencoding.cpp:78
virtual void virtual_hook(int id, void *data)
Definition: kremoteencoding.cpp:119
QByteArray fileName(const KUrl &url) const
Converts the given URL into 8-bit form and retrieve the filename.
Definition: kremoteencoding.cpp:85
ObeyTrailingSlash
IgnoreTrailingSlash
QString path(AdjustPathOption trailing=LeaveTrailingSlash) const
QString directory(const DirectoryOptions &options=IgnoreTrailingSlash) const
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QString dir(const QString &fileClass)
Returns the most recently used directory accociated with this file-class.
Definition: krecentdirs.cpp:68
const char * name(StandardAction id)
bool isUtf8(const char *str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Feb 3 2022 00:00:00 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Feb 3 2022 00:00:00 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.