mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
20 lines
392 B
C++
20 lines
392 B
C++
#include <QObject>
|
|
|
|
class WebPage;
|
|
class QNetworkReply;
|
|
|
|
class UnsupportedContentHandler : public QObject {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
UnsupportedContentHandler(WebPage *page, QNetworkReply *reply, QObject *parent = 0);
|
|
void waitForReplyToFinish();
|
|
void renderNonHtmlContent();
|
|
|
|
public slots:
|
|
void replyFinished();
|
|
|
|
private:
|
|
WebPage *m_page;
|
|
QNetworkReply *m_reply;
|
|
};
|