X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fctcpevent.h;h=42d8995f38f1d73f58ad1cc9a9c2ea45dfa607f9;hp=08eac202ccf7615328668c52075045d7835bae1b;hb=6f38b6fdeb73e726c24b26a97b98c9cfe0fc8a0e;hpb=283fdb2c49e5efa1d497d8c3e6f624f86d008ff8 diff --git a/src/common/ctcpevent.h b/src/common/ctcpevent.h index 08eac202..42d8995f 100644 --- a/src/common/ctcpevent.h +++ b/src/common/ctcpevent.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2010 by the Quassel Project * + * Copyright (C) 2005-2012 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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);