Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QTemporaryFile::~QTemporaryFile (  )

Destroys the temporary file object, the file is automatically closed if necessary and if in auto remove mode it will automatically delete the file.

See also:
autoRemove()

Definition at line 579 of file qtemporaryfile.cpp.

References QFile::close().

{
    Q_D(QTemporaryFile);
    close();
    if (!d->fileName.isEmpty() && d->autoRemove)
        remove();
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index