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

QFile::FileError QFile::error (  )  const [inherited]

Returns the file error status.

The I/O device status returns an error code. For example, if open() returns false, or a read/write operation returns -1, this function can be called to find out the reason why the operation failed.

See also:

Definition at line 1308 of file qfile.cpp.

Referenced by QFile::close(), QFile::copy(), QFile::remove(), and QFile::rename().

    Q_D(const QFile);
    return d->error;

Generated by  Doxygen 1.6.0   Back to index