X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreeventmanager.h;h=e4bf96b592cec614f4dc917d09cdad4c85a7ea7d;hb=a9a4e326891d0d62ef2d2cd8001ebee1e54d3fd6;hp=d343df5bade9f22fffe9979ed53fe99850393eb8;hpb=9d54503555534a2c554f09a33df6afa33d6308ec;p=quassel.git diff --git a/src/core/coreeventmanager.h b/src/core/coreeventmanager.h index d343df5b..e4bf96b5 100644 --- a/src/core/coreeventmanager.h +++ b/src/core/coreeventmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 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 * @@ -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