X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fctcpevent.h;h=0a31077b8c323d4e18e8d7fa0020caed1bf83215;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hp=73bcc4b50dede005a78ab522d2cff952d57a834d;hpb=68878dc8366f2f4a0afe132847aad9a51a80cdbf;p=quassel.git diff --git a/src/common/ctcpevent.h b/src/common/ctcpevent.h index 73bcc4b5..0a31077b 100644 --- a/src/common/ctcpevent.h +++ b/src/common/ctcpevent.h @@ -18,14 +18,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CTCPEVENT_H -#define CTCPEVENT_H +#pragma once + +#include "common-export.h" #include "ircevent.h" #include -class CtcpEvent : public IrcEvent +class COMMON_EXPORT CtcpEvent : public IrcEvent { public: enum CtcpType { @@ -69,10 +70,10 @@ public: protected: explicit CtcpEvent(EventManager::EventType type, QVariantMap &map, Network *network); - void toVariantMap(QVariantMap &map) const; + void toVariantMap(QVariantMap &map) const override; - virtual inline QString className() const { return "CtcpEvent"; } - virtual inline void debugInfo(QDebug &dbg) const + inline QString className() const override { return "CtcpEvent"; } + inline void debugInfo(QDebug &dbg) const override { NetworkEvent::debugInfo(dbg); dbg << ", prefix = " << qPrintable(prefix()) @@ -90,6 +91,3 @@ private: QString _target, _param, _reply; QUuid _uuid; }; - - -#endif