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 directory(const DirectoryOptions &options=IgnoreTrailingSlash) const
QString decode(const QByteArray &name) const
Converts the given full pathname or filename to Unicode.
Definition: kremoteencoding.cpp:49
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
QByteArray fileName(const KUrl &url) const
Converts the given URL into 8-bit form and retrieve the filename.
Definition: kremoteencoding.cpp:85
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
bool isUtf8(const char *str)
QByteArray encode(const QString &name) const
Converts the given name from Unicode.
Definition: kremoteencoding.cpp:64
QString path(AdjustPathOption trailing=LeaveTrailingSlash) const
int encodingMib() const
Returns the MIB for the codec being used.
Definition: kremoteencoding.cpp:95
QString dir(const QString &fileClass)
Returns the most recently used directory accociated with this file-class.
Definition: krecentdirs.cpp:68
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
virtual void virtual_hook(int id, void *data)
Definition: kremoteencoding.cpp:119
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.