X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreauthhandler.h;h=0cb9a962dbd3dec21a89cd4cb828b62b7f7a0909;hb=d030c159599a22c9023b8f0d34909d3277707f52;hp=e26e94c0eb1c0b657de3f71f3d1f8af73ace6440;hpb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;p=quassel.git diff --git a/src/core/coreauthhandler.h b/src/core/coreauthhandler.h index e26e94c0..0cb9a962 100644 --- a/src/core/coreauthhandler.h +++ b/src/core/coreauthhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -31,19 +31,19 @@ class CoreAuthHandler : public AuthHandler Q_OBJECT public: - CoreAuthHandler(QTcpSocket *socket, QObject *parent = nullptr); + CoreAuthHandler(QTcpSocket* socket, QObject* parent = nullptr); signals: - void handshakeComplete(RemotePeer *peer, UserId uid); + void handshakeComplete(RemotePeer* peer, UserId uid); private: using AuthHandler::handle; - void handle(const Protocol::RegisterClient &msg) override; - void handle(const Protocol::SetupData &msg) override; - void handle(const Protocol::Login &msg) override; + void handle(const Protocol::RegisterClient& msg) override; + void handle(const Protocol::SetupData& msg) override; + void handle(const Protocol::Login& msg) override; - void setPeer(RemotePeer *peer); + void setPeer(RemotePeer* peer); void startSsl(); bool checkClientRegistered(); @@ -59,7 +59,7 @@ private slots: void onProtocolVersionMismatch(int actual, int expected); private: - RemotePeer *_peer; + RemotePeer* _peer; bool _magicReceived; bool _legacy;