X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcoreeventmanager.h;h=e4c5ff80d4e51be6619376c40a8f4f0583cab26b;hb=db00831bca59a012242d1ad5fac52a20c6cd2956;hp=b64e7bf918c40ba492cd1e8ef3d662059af9564f;hpb=4a5065255e652dd0c301bac0db41b7afb777ef49;p=quassel.git diff --git a/src/core/coreeventmanager.h b/src/core/coreeventmanager.h index b64e7bf9..e4c5ff80 100644 --- a/src/core/coreeventmanager.h +++ b/src/core/coreeventmanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2018 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