From c635094a6bdfcf2f081eb3c0ed9a1454ae2933fb Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Sat, 9 Jan 2021 15:55:52 +1100 Subject: status bar: show request status when loading pages status text for loading HTTP/S is only a simple 'loading webpage'. The other protocols display more information --- src/protocolhandler.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/protocolhandler.hpp') diff --git a/src/protocolhandler.hpp b/src/protocolhandler.hpp index bdc1cd3..8e2c1e8 100644 --- a/src/protocolhandler.hpp +++ b/src/protocolhandler.hpp @@ -6,6 +6,8 @@ #include #include +enum class RequestState : int; + class ProtocolHandler : public QObject { Q_OBJECT @@ -50,6 +52,9 @@ signals: //! The request completed with the given data and mime type void requestComplete(QByteArray const & data, QString const & mime); + //! The state of the request has changed + void requestStateChange(RequestState state); + //! Server redirected us to another URL void redirected(QUrl const & uri, bool is_permanent); -- cgit v1.2.3