KDECore
ktempdir.h
Go to the documentation of this file.
bool exists() const
Returns true if a temporary directory has successfully been created and has not been unlinked yet.
Definition ktempdir.cpp:173
QString name() const
Returns the full path and name of the directory, including a trailing '/'.
Definition ktempdir.cpp:168
KTempDir(const QString &directoryPrefix=QString(), int mode=0700)
Creates a temporary directory with the name: <directoryPrefix><six letters>
Definition ktempdir.cpp:80
static bool removeDir(const QString &path)
Remove a directory and all its contents.
Definition ktempdir.cpp:259
void setAutoRemove(bool autoRemove)
Turn automatic deletion of the directory on or off.
Definition ktempdir.cpp:178
int status() const
Returns the status of the directory creation based on errno.
Definition ktempdir.cpp:163
bool create(const QString &directoryPrefix, int mode)
Creates a "random" directory with specified mode.
Definition ktempdir.cpp:85
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.