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

bool QTemporaryFile::autoRemove (  ) const

Returns true if the QTemporaryFile is in auto remove mode. Auto-remove mode will automatically delete the filename from disk upon destruction. This makes it very easy to create your QTemporaryFile object on the stack, fill it with data, read from it, and finally on function return it will automatically clean up after itself.

Auto-remove is on by default.

See also:
setAutoRemove(), remove()

Definition at line 610 of file qtemporaryfile.cpp.

{
    Q_D(const QTemporaryFile);
    return d->autoRemove;
}

Generated by  Doxygen 1.6.0   Back to index