4
#include <QTextBrowser>
7
class QNetworkAccessManager;
9
class DataBrowser : public QTextBrowser
13
explicit DataBrowser(QWidget *parent = 0);
20
QNetworkAccessManager *manager;
22
// hash and set of QString instead of QUrl to support Qt versions
23
// older than 4.7 (those have no support for qHash(const QUrl &))
24
QHash<QString, QByteArray> resources;
25
QSet<QString> requestedResources;
27
QVariant loadResource(int type, const QUrl & name);
30
void resourceDownloaded();
33
#endif // DATABROWSER_H