X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreauthhandler.h;h=443e2681a8042af89c51519ba94287e7c806dcda;hp=6471a3e088a0c76a2dd1b83c4e6eef6551a6d719;hb=HEAD;hpb=1a5c1814a0c52f6f35e65c7033b2f896bf1188e3 diff --git a/src/core/coreauthhandler.h b/src/core/coreauthhandler.h index 6471a3e0..443e2681 100644 --- a/src/core/coreauthhandler.h +++ b/src/core/coreauthhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2020 by the Quassel Project * + * Copyright (C) 2005-2022 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef COREAUTHHANDLER_H -#define COREAUTHHANDLER_H +#pragma once #include "authhandler.h" #include "metricsserver.h" @@ -33,7 +32,7 @@ class CoreAuthHandler : public AuthHandler Q_OBJECT public: - CoreAuthHandler(QTcpSocket* socket, QObject* parent = nullptr); + CoreAuthHandler(QSslSocket* socket, QObject* parent = nullptr); QHostAddress hostAddress() const; bool isLocal() const override; @@ -74,5 +73,3 @@ private: quint8 _connectionFeatures; QVector _supportedProtos; }; - -#endif