1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
capybara-webkit/src/NoOpReply.h

19 lines
338 B
C
Raw Normal View History

2012-11-15 23:31:41 -05:00
#include <QNetworkReply>
#include <QNetworkRequest>
class NoOpReply : public QNetworkReply {
Q_OBJECT
public:
NoOpReply(const QNetworkRequest &request, QObject *parent = 0);
void abort();
qint64 bytesAvailable() const;
bool isSequential() const;
protected:
qint64 readData(char *data, qint64 maxSize);
};