diff options
| author | Felix (xq) Queißner <git@mq32.de> | 2020-06-22 21:10:04 +0200 |
|---|---|---|
| committer | Felix (xq) Queißner <git@mq32.de> | 2020-06-22 21:10:04 +0200 |
| commit | 75ec461eeaa851cb5c53f4cfffc434e3e529ed1d (patch) | |
| tree | 3944737340718ca3675381aa06636045d397e780 /src/fingerclient.hpp | |
| parent | 8dbfb0890560fd1cd698d06fa05ac868c4db8576 (diff) | |
| download | kristall-75ec461eeaa851cb5c53f4cfffc434e3e529ed1d.tar.gz | |
Restructures the project source and cleans up a bit
Diffstat (limited to 'src/fingerclient.hpp')
| -rw-r--r-- | src/fingerclient.hpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/fingerclient.hpp b/src/fingerclient.hpp deleted file mode 100644 index 63d04fd..0000000 --- a/src/fingerclient.hpp +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef FINGERCLIENT_HPP -#define FINGERCLIENT_HPP - -#include <QObject> -#include <QTcpSocket> -#include <QUrl> - -#include "protocolhandler.hpp" - -class FingerClient : public ProtocolHandler -{ - Q_OBJECT -public: - explicit FingerClient(); - - ~FingerClient() override; - - bool supportsScheme(QString const & scheme) const override; - - bool startRequest(QUrl const & url, RequestOptions options) override; - - bool isInProgress() const override; - - bool cancelRequest() override; - -private slots: - void on_connected(); - void on_readRead(); - void on_finished(); - void on_socketError(QTcpSocket::SocketError error_code); - -private: - QTcpSocket socket; - QByteArray body; - bool was_cancelled; - QString requested_user; -}; - -#endif // FINGERCLIENT_HPP |
