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,
52 bool content_type_supported,
63 static QByteArray s_eol;
69 bool m_content_type_supported;
72 static QByteArray plain_to_html(
const QByteArray &bytes);
75 void slot_connected(
void);
76 void slot_disonnected(
void);
77 void slot_ready_read(
void);
80 void error(QWebEngineUrlRequestJob::Error error);
81 void finished(
const QByteArray &bytes,
82 bool content_type_supported,
Definition: dooble_gopher.h:38
Definition: dooble_gopher.h:56