148 #if defined(CHECK_STATE) 149 qWarning(
"QBuffer::setBuffer: Buffer is open");
190 #if defined(CHECK_STATE) 191 qWarning(
"QBuffer::open: Buffer already open" );
253 #if defined(CHECK_STATE) 255 qWarning(
"QBuffer::at: Buffer is not open" );
260 #if defined(CHECK_RANGE) 261 qWarning(
"QBuffer::at: Index %d out of range", pos );
276 #if defined(CHECK_STATE) 279 qWarning(
"QBuffer::readBlock: Buffer not open" );
283 qWarning(
"QBuffer::readBlock: Read operation not permitted" );
314 #if defined(CHECK_NULL) 315 if ( p == 0 && len != 0 )
316 qWarning(
"QBuffer::writeBlock: Null pointer error" );
318 #if defined(CHECK_STATE) 320 qWarning(
"QBuffer::writeBlock: Buffer not open" );
324 qWarning(
"QBuffer::writeBlock: Write operation not permitted" );
331 #if defined(CHECK_NULL) 332 qWarning(
"QBuffer::writeBlock: Memory allocation error" );
355 #if defined(CHECK_STATE) 358 qWarning(
"QBuffer::readLine: Buffer not open" );
362 qWarning(
"QBuffer::readLine: Read operation not permitted" );
374 if ( (*p++ = *d++) ==
'\n' )
389 #if defined(CHECK_STATE) 391 qWarning(
"QBuffer::getch: Buffer not open" );
395 qWarning(
"QBuffer::getch: Read operation not permitted" );
419 #if defined(CHECK_STATE) 421 qWarning(
"QBuffer::putch: Buffer not open" );
425 qWarning(
"QBuffer::putch: Write operation not permitted" );
448 #if defined(CHECK_STATE) 450 qWarning(
"QBuffer::ungetch: Buffer not open" );
454 qWarning(
"QBuffer::ungetch: Read operation not permitted" );
bool setBuffer(QByteArray)
int readBlock(char *p, uint)
void qWarning(const char *msg,...)
int writeBlock(const char *p, uint)
int readLine(char *p, uint)