TreeFrogFramework
2.8
|
#include <ttemporaryfile.h>
Public Member Functions | |
TTemporaryFile () | |
bool | open () |
QString | absoluteFilePath () const |
Protected Member Functions | |
bool | open (OpenMode flags) |
The TTemporaryFile class is a temporary file device on an action context of web application.
After an action of a controller returns, temporary files created in the action will be deleted. Because this class inherits QTemporaryFile, you can use same functions as that.
TTemporaryFile::TTemporaryFile | ( | ) |
Constructor.
QString TTemporaryFile::absoluteFilePath | ( | ) | const |
Returns an absolute path including the file name.
bool TTemporaryFile::open | ( | ) |
Creates a unique file name for the temporary file, and opens it in QIODevice::ReadWrite mode.
The file is guaranteed to have been created by this function (i.e., it has never existed before).
|
protected |