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

src_corelib_io_qtemporaryfile.cpp

{
//! [0]
    // Within a function/method...

    QTemporaryFile file;
    if (file.open()) {
        // file.fileName() returns the unique file name
    }

    // The QTemporaryFile destructor removes the temporary file
    // as it goes out of scope.
//! [0]
}

Generated by  Doxygen 1.6.0   Back to index