KDECore
ktemporaryfile.cpp
Go to the documentation of this file.
1 /* kate: tab-indents off; replace-tabs on; tab-width 4; remove-trailing-space on; encoding utf-8;*/
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
void setPrefix(const QString &prefix)
Sets a prefix to use when creating the file.
Definition: ktemporaryfile.cpp:55
QString & prepend(QChar ch)
void setSuffix(const QString &suffix)
Sets a suffix to use when creating the file.
Definition: ktemporaryfile.cpp:72
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
bool isEmpty() const
void setFileTemplate(const QString &name)
bool isAbsolutePath(const QString &path)
QString mid(int position, int n) const
static QString locateLocal(const char *type, const QString &filename, const KComponentData &cData=KGlobal::mainComponent())
This function is much like locate.
Definition: kstandarddirs.cpp:2091
QString left(int n) const
QString fileTemplate() const
KTemporaryFile(const KComponentData &componentData=KGlobal::mainComponent())
Construct a new KTemporaryFile.
Definition: ktemporaryfile.cpp:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.