GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ttemporaryfile.h
  • ttemporaryfile.cpp

This view

  • Original page
  • New address

GeezerVison is showing api-reference.treefrogframework.org — TreeFrogFramework: TTemporaryFile Class Reference

TreeFrogFramework 2.10
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
TTemporaryFile Class Reference

#include <ttemporaryfile.h>

Inheritance diagram for TTemporaryFile:
Inheritance graph
[legend]
Collaboration diagram for TTemporaryFile:
Collaboration graph
[legend]

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
http://doc.qt.io/qt-5/qtemporaryfile.html

Constructor & Destructor Documentation

◆ TTemporaryFile()

TTemporaryFile::TTemporaryFile ( )

Constructor.

Member Function Documentation

◆ 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]

bool TTemporaryFile::open ( OpenMode  flags)
protected

The documentation for this class was generated from the following files:
  • src/ttemporaryfile.h
  • src/ttemporaryfile.cpp
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.