TreeFrogFramework: TTemporaryFile Class Reference
#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.
◆ absoluteFilePath()
| QString TTemporaryFile::absoluteFilePath | ( | ) | const |
Returns an absolute path including the file name.
◆ open() [1/2]
| 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).
◆ open() [2/2]
|
protected |
The documentation for this class was generated from the following files:
- src/ttemporaryfile.h
- src/ttemporaryfile.cpp