diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-01-09 15:55:52 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-01-10 13:40:46 +0100 |
| commit | c635094a6bdfcf2f081eb3c0ed9a1454ae2933fb (patch) | |
| tree | b41aca9c2803ad3acbe89c027b340b15ac473eee /src/protocolhandler.hpp | |
| parent | dd3e8716b276f9f1646338f8801ca9a2f688fc46 (diff) | |
| download | kristall-c635094a6bdfcf2f081eb3c0ed9a1454ae2933fb.tar.gz | |
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
Diffstat (limited to 'src/protocolhandler.hpp')
| -rw-r--r-- | src/protocolhandler.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 <QObject> #include <QAbstractSocket> +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); |
