4#ifndef HELPBROWSERSUPPORT_H
5#define HELPBROWSERSUPPORT_H
7#include <QtCore/QtGlobal>
11class QNetworkAccessManager;
static QNetworkAccessManager * createNetworkAccessManager(QObject *parent=nullptr)
static QByteArray fileDataForLocalUrl(const QUrl &url)
static QString msgAllDocumentationSets()
static QString msgLoadError(const QUrl &url)
static QString msgPageNotFound()
static ResolveUrlResult resolveUrl(const QUrl &url, QUrl *targetUrl, QByteArray *data)
static QString msgHtmlErrorPage(const QUrl &url)
static QString msgError404()
static HelpEngineWrapper & instance()
QNetworkReply * createRequest(Operation op, const QNetworkRequest &request, QIODevice *outgoingData=nullptr) override
Returns a new QNetworkReply object to handle the operation op and request originalReq.
HelpNetworkAccessManager(QObject *parent)
void abort() override
Aborts the operation immediately and close down any network connections still open.
HelpNetworkReply(const QNetworkRequest &request, const QByteArray &fileData, const QString &mimeType)
qint64 bytesAvailable() const override
Returns the number of bytes that are available for reading.
qint64 readData(char *data, qint64 maxlen) override
Reads up to maxSize bytes from the device into data, and returns the number of bytes read or -1 if an...
HelpRedirectNetworkReply(const QNetworkRequest &request, const QUrl &newUrl)
qint64 readData(char *, qint64) override
Reads up to maxSize bytes from the device into data, and returns the number of bytes read or -1 if an...
void abort() override
Aborts the operation immediately and close down any network connections still open.
static QT_BEGIN_NAMESPACE const char g_htmlPage[]
Combined button and popup list for selecting options.