16 #ifndef _TEMP_DIRECTORY_H_ 17 #define _TEMP_DIRECTORY_H_
void cleanup()
Delete the temporary directory (before exiting).
QString createTempDirectoryIn(QString inDir)
QString getPath()
Create the root temporary directory if necessary, and return its path.
A class that manages the creation and removal of a temporary directory tree to store data during the ...
static TempDirectory * getInstance()
static TempDirectory * m_instance
void cleanupDirectory(QString tmpDir)
void cleanupAbandonedDirectories(QString svDir)
QString getSubDirectoryPath(QString subdir)
Create an immediate subdirectory of the root temporary directory of the given name,...
QString getContainingPath()
Return the path of the directory in which the temporary directory has been or will be created.