diff options
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); |
