X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoreeventmanager.h;h=e3036bb837277edede939c7bb482e14c76aa6659;hp=de4878e695942848d0bfa24f4f55a572e01ea492;hb=c0d6dc0dec628f2e143e37ecc95cec45e636f8a5;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/core/coreeventmanager.h b/src/core/coreeventmanager.h index de4878e6..e3036bb8 100644 --- a/src/core/coreeventmanager.h +++ b/src/core/coreeventmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -25,24 +25,21 @@ #include "coresession.h" #include "eventmanager.h" -class CoreSession; - class CoreEventManager : public EventManager { Q_OBJECT public: - CoreEventManager(CoreSession *session) + CoreEventManager(CoreSession* session) : EventManager(session) , _coreSession(session) {} protected: - inline Network *networkById(NetworkId id) const { return _coreSession->network(id); } + inline Network* networkById(NetworkId id) const override { return _coreSession->network(id); } private: - CoreSession *_coreSession; + CoreSession* _coreSession; }; - #endif