TreeFrogFramework  1.18
Public Member Functions | Protected Member Functions | List of all members
TTemporaryFile Class Reference

#include <ttemporaryfile.h>

Inheritance diagram for TTemporaryFile:
Inheritance graph
Collaboration diagram for TTemporaryFile:
Collaboration graph

Public Member Functions

 TTemporaryFile ()
bool open ()
QString absoluteFilePath () const

Protected Member Functions

bool open (OpenMode flags)

Detailed Description

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.

See also

Constructor & Destructor Documentation

TTemporaryFile::TTemporaryFile ( )


Member Function Documentation

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).

bool TTemporaryFile::open ( OpenMode  flags)

The documentation for this class was generated from the following files: