40 QIODevice *outputChannel,
43 bool sendData(
const QVariantMap &map);
45 void receiveData(
int expectedDataSize);
47 void setReadChannelSocketNotifier(QSocketNotifier *notifier);
48 bool isReading()
const {
return m_isReading; }
54 void dataReceived(
const QVariantMap &map);
58 void setReadNotificationEnabled(
bool enable);
60 QByteArray variantMapToByteArray(
const QVariantMap &map);
61 QVariantMap byteArrayToVariantMap(
const QByteArray &array);
62 QVector<QByteArray> pageByteArray(
const QByteArray &array);
65 QIODevice *m_readChannel;
66 QIODevice *m_writeChannel;
67 QByteArray m_blobBuffer;
68 QSocketNotifier *m_readNotifier;