Permalink
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 392 Bytes
#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;
};