23#ifndef QHTTPENGINE_QIODEVICECOPIER_H
24#define QHTTPENGINE_QIODEVICECOPIER_H
28#include "qhttpengine_export.h"
35class QHTTPENGINE_EXPORT QIODeviceCopierPrivate;
92 void error(
const QString &message);
129 QIODeviceCopierPrivate *
const d;
130 friend class QIODeviceCopierPrivate;
void setBufferSize(qint64 size)
Set the size of the buffer.
void setRange(qint64 from, qint64 to)
Set range of data to copy, if src device is not sequential.
QIODeviceCopier(QIODevice *src, QIODevice *dest, QObject *parent=0)
Create a new device copier from the specified source and destination devices.
void start()
Start the copy operation.
void finished()
Indicate that the copy operation finished.
void error(const QString &message)
Indicate that an error occurred.
void stop()
Stop the copy operation.