QBuffer
#include <QtCore/QBuffer>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QBuffer
Overview
Inheritance
QIODevice | ||
QBuffer |
Public Types Index
Public Functions Index
QBuffer (QObject *parent=0) | |
QBuffer (QByteArray *buf, QObject *parent=0) | |
~QBuffer () | |
virtual bool | atEnd () const |
QByteArray & | buffer () |
const QByteArray & | buffer () const |
virtual bool | canReadLine () const |
virtual void | close () |
const QByteArray & | data () const |
virtual bool | open (OpenMode openMode) |
virtual qint64 | pos () const |
virtual bool | seek (qint64 off) |
void | setBuffer (QByteArray *a) |
void | setData (const QByteArray &data) |
void | setData (const char *data, int len) |
virtual qint64 | size () const |
virtual qint64 | bytesAvailable () const ![]() |
virtual qint64 | bytesToWrite () const ![]() |
QString | errorString () const ![]() |
bool | getChar (char *c)![]() |
bool | isOpen () const ![]() |
bool | isReadable () const ![]() |
virtual bool | isSequential () const ![]() |
bool | isTextModeEnabled () const ![]() |
bool | isWritable () const ![]() |
OpenMode | openMode () const ![]() |
qint64 | peek (char *data, qint64 maxlen)![]() |
QByteArray | peek (qint64 maxlen)![]() |
bool | putChar (char c)![]() |
QIODevice ()![]() | |
QIODevice (QObject *parent)![]() | |
qint64 | read (char *data, qint64 maxlen)![]() |
QByteArray | read (qint64 maxlen)![]() |
QByteArray | readAll ()![]() |
qint64 | readLine (char *data, qint64 maxlen)![]() |
QByteArray | readLine (qint64 maxlen=0)![]() |
virtual bool | reset ()![]() |
void | setTextModeEnabled (bool enabled)![]() |
void | ungetChar (char c)![]() |
virtual bool | waitForBytesWritten (int msecs)![]() |
virtual bool | waitForReadyRead (int msecs)![]() |
qint64 | write (const char *data, qint64 len)![]() |
qint64 | write (const char *data)![]() |
qint64 | write (const QByteArray &data)![]() |
Protected Functions Index
virtual void | connectNotify (const char *) |
virtual void | disconnectNotify (const char *) |
virtual qint64 | readData (char *data, qint64 maxlen) |
virtual qint64 | writeData (const char *data, qint64 len) |
QIODevice (QIODevicePrivate &dd, QObject *parent=0)![]() | |
virtual qint64 | readLineData (char *data, qint64 maxlen)![]() |
void | setErrorString (const QString &errorString)![]() |
void | setOpenMode (OpenMode openMode)![]() |
Signals Index
Only has inherited signals
void | aboutToClose ()![]() |
void | bytesWritten (qint64 bytes)![]() |
void | readChannelFinished ()![]() |
void | readyRead ()![]() |
Public Types
(Only has inherited public types)
- NotOpen 0x0000
- ReadOnly 0x0001
- WriteOnly 0x0002
- ReadWrite ReadOnly | WriteOnly
- Append 0x0004
- Truncate 0x0008
- Text 0x0010
- Unbuffered 0x0020
Public Functions
Destructor.
virtual bool
const QByteArray &
virtual bool
virtual void
const QByteArray &
virtual bool
virtual qint64
virtual bool
void
void
void
virtual qint64
virtual qint64 
virtual qint64 
bool 
bool 
bool 
virtual bool 
bool 
bool 
OpenMode 
qint64 
bool 
qint64 
qint64 
virtual bool 
void 
void 
virtual bool 
virtual bool 
qint64 
qint64 
qint64 
Protected Functions
virtual void
virtual void
virtual qint64
virtual qint64
virtual qint64 
void 
void 
Signals
(Only has inherited signals)
void 
void 
void 
void 
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy