Пример #1
0
CBXmlReader::CBXmlReader(QIODevice *device)
    :_streamReader(NULL),
      _device(NULL),
      _callback(NULL)
{
    setIODevice(device);
}
Пример #2
0
Chunks::Chunks(QIODevice &ioDevice, QObject *parent): QObject(parent)
{
    setIODevice(ioDevice);
}
Пример #3
0
Chunks::Chunks(QObject *parent): QObject(parent)
{
    QBuffer *buf = new QBuffer(this);
    setIODevice(*buf);
}
Пример #4
0
void CBXmlReader::setFilePath(const QString filePath)
{
    QFile *file = new QFile(filePath);
    setIODevice(file);
}
Пример #5
0
Chunks::Chunks(QIODevice &ioDevice)
{
    setIODevice(ioDevice);
}
Пример #6
0
Chunks::Chunks()
{
    QBuffer *buf = new QBuffer();
    setIODevice(*buf);
}