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

QString QTemporaryFile::fileName (  ) const

Returns the complete unique filename backing the QTemporaryFile object. This string is null before the QTemporaryFile is opened, afterwards it will contain the fileTemplate() plus additional characters to make it unique.

See also:

Reimplemented from QFile.

Definition at line 638 of file qtemporaryfile.cpp.

References fileEngine(), and QAbstractFileEngine::fileName().

    Q_D(const QTemporaryFile);
        return QString();
    return fileEngine()->fileName(QAbstractFileEngine::DefaultName);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index