28 #ifndef dooble_gopher_h 29 #define dooble_gopher_h 35 #include <QWebEngineUrlRequestJob> 36 #include <QWebEngineUrlSchemeHandler> 46 QPointer<QWebEngineUrlRequestJob> m_request;
47 void requestStarted(QWebEngineUrlRequestJob *request);
50 void slot_error(QWebEngineUrlRequestJob::Error error);
51 void slot_finished(
const QByteArray &bytes,
bool content_type_supported);
66 bool m_content_type_supported;
68 static QByteArray s_eol;
69 static QByteArray plain_to_html(
const QByteArray &bytes);
72 void slot_connected(
void);
73 void slot_disonnected(
void);
74 void slot_ready_read(
void);
77 void error(QWebEngineUrlRequestJob::Error error);
78 void finished(
const QByteArray &bytes,
bool content_type_supported);
Definition: dooble_gopher.h:38
Definition: dooble_gopher.h:54