42 #ifndef QPACKETPROTOCOL_H 43 #define QPACKETPROTOCOL_H 45 #include <QtCore/qobject.h> 46 #include <QtCore/qdatastream.h> 48 #include <private/qdeclarativeglobal_p.h> 69 qint32 maximumPacketSize()
const;
75 qint64 packetsAvailable()
const;
78 bool waitForReadyRead(
int msecs = 3000);
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
The QPacketProtocol class encapsulates communicating discrete packets across fragmented IO channels...
static void clear(QVariant::Private *d)
The QBuffer class provides a QIODevice interface for a QByteArray.
The QObject class is the base class of all Qt objects.
The QPacket class encapsulates an unfragmentable packet of data to be transmitted by QPacketProtocol...
#define QT_BEGIN_NAMESPACE
This macro expands to.
static bool isEmpty(const char *str)
static const char * data(const QByteArray &arr)
#define Q_DECLARATIVE_PRIVATE_EXPORT
QPacketProtocolPrivate * d
#define Q_DECLARATIVE_EXPORT
The QDataStream class provides serialization of binary data to a QIODevice.
The QIODevice class is the base interface class of all I/O devices in Qt.