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

bool QIODeviceDelegate::reset (  ) [virtual]

Seeks to the start of input for random-access devices. Returns true on success; otherwise returns false (for example, if the device is not open).

Note that when using a QTextStream on a QFile, calling reset() on the QFile will not have the expected result because QTextStream buffers the file. Use the QTextStream::seek() function instead.

See also:
seek()

Reimplemented from QIODevice.

Definition at line 135 of file qiodevicedelegate.cpp.

References QIODevice::reset().

{
    return m_source->reset();
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index