365 #if defined(CHECK_RANGE) 367 qWarning(
"QIODevice::setType: Specified type out of range" );
380 #if defined(CHECK_RANGE) 382 qWarning(
"QIODevice::setMode: Specified mode out of range" );
395 #if defined(CHECK_RANGE) 397 qWarning(
"QIODevice::setState: Specified state out of range" );
483 #if defined(CHECK_RANGE) 485 qWarning(
"QIODevice::at: Index %d out of range", pos );
590 while ( pos++ < s && --maxlen ) {
596 return (
int)((intptr_t)p - (intptr_t)
data);
virtual int ungetch(int)=0
virtual bool atEnd() const
virtual int readBlock(char *data, uint maxlen)=0
void qWarning(const char *msg,...)
virtual int writeBlock(const char *data, uint len)=0
bool isSequentialAccess() const
virtual int readLine(char *data, uint maxlen)
bool isTranslated() const
QArray< char > QByteArray
The QIODevice class is the base class of I/O devices.
virtual uint size() const =0