CBXmlReader::CBXmlReader(QIODevice *device) :_streamReader(NULL), _device(NULL), _callback(NULL) { setIODevice(device); }
Chunks::Chunks(QIODevice &ioDevice, QObject *parent): QObject(parent) { setIODevice(ioDevice); }
Chunks::Chunks(QObject *parent): QObject(parent) { QBuffer *buf = new QBuffer(this); setIODevice(*buf); }
void CBXmlReader::setFilePath(const QString filePath) { QFile *file = new QFile(filePath); setIODevice(file); }
Chunks::Chunks(QIODevice &ioDevice) { setIODevice(ioDevice); }
Chunks::Chunks() { QBuffer *buf = new QBuffer(); setIODevice(*buf); }