25 QByteArray dataChanged;
34 Chunks(QIODevice &ioDevice);
35 bool setIODevice(QIODevice &ioDevice);
38 QByteArray data(qint64 pos=0, qint64 count=-1, QByteArray *highlighted=0);
39 bool write(QIODevice &iODevice, qint64 pos=0, qint64 count=-1);
42 void setDataChanged(qint64 pos,
bool dataChanged);
43 bool dataChanged(qint64 pos);
46 qint64 indexOf(
const QByteArray &ba, qint64 from);
47 qint64 lastIndexOf(
const QByteArray &ba, qint64 from);
50 bool insert(qint64 pos,
char b);
51 bool overwrite(qint64 pos,
char b);
52 bool removeAt(qint64 pos);
55 char operator[](qint64 pos);
61 int getChunkIndex(qint64 absPos);
63 QIODevice * _ioDevice;