KCoreAddons
kfileutils.cpp
QString captured(int nth) const const
QString suffixForFileName(const QString &fileName) const const
KCOREADDONS_EXPORT QString makeSuggestedName(const QString &oldName)
Given a string, "foo", representing a file/directory (which usually exists already), this function returns a suggested name for a file/directory in the form "foo (1)", "foo (2)" etc.
Definition: kfileutils.cpp:15
KCOREADDONS_EXPORT QString suggestName(const QUrl &baseURL, const QString &oldName)
Given a directory path and a string representing a file or directory (which usually exist already)...
Definition: kfileutils.cpp:55
int capturedStart(int nth) const const
QString & prepend(QChar ch)
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const const
QString number(int n, int base)
int toInt(bool *ok, int base) const const
bool isEmpty() const const
bool hasMatch() const const
QString toLocalFile() const const
bool exists() const const
QString & replace(int position, int n, QChar after)
QString mid(int position, int n) const const
int length() const const
QString left(int n) const const
int capturedLength(int nth) const const
bool isLocalFile() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:01:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Apr 9 2021 23:01:38 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.