X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fctcpevent.h;h=42d8995f38f1d73f58ad1cc9a9c2ea45dfa607f9;hp=925bb3eeb99214b860b13e11cfc229ae07eb2e1d;hb=6f38b6fdeb73e726c24b26a97b98c9cfe0fc8a0e;hpb=5c6de1b6613a99791be660bb19df18e3da507cd7 diff --git a/src/common/ctcpevent.h b/src/common/ctcpevent.h index 925bb3ee..42d8995f 100644 --- a/src/common/ctcpevent.h +++ b/src/common/ctcpevent.h @@ -64,7 +64,12 @@ public: inline QUuid uuid() const { return _uuid; } inline void setUuid(const QUuid &uuid) { _uuid = uuid; } + static Event *create(EventManager::EventType type, QVariantMap &map, Network *network); + protected: + explicit CtcpEvent(EventManager::EventType type, QVariantMap &map, Network *network); + void toVariantMap(QVariantMap &map) const; + virtual inline QString className() const { return "CtcpEvent"; } virtual inline void debugInfo(QDebug &dbg) const { NetworkEvent::debugInfo(dbg);