Provide (de)serialization for all event types
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 21 May 2012 21:30:56 +0000 (23:30 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 21 May 2012 21:36:14 +0000 (23:36 +0200)
This allows to (de)serialize events to/from QVariantMap (using only primitive
types), a prerequisite for sending events over the wire.

Use the following functions:

void EventManager::createEvent(const QVariantMap &)
QVariantMap Event::toVariantMap()

Note that there is only rudimentary plausibility checking, so for now we assume
that the QVariantMaps are created by Quassel. Before we allow these to go on the wire,
we need to make sure that this can't be tinkered with in annoying ways.


No differences found