Commit ID 6f38b6fdeb73e726c24b26a97b98c9cfe0fc8a0e
|Contributor:||Manuel 'Sputnick' Nickschas
as Manuel Nickschas
|Date:||21-May-2012 at 21:30||Lines Added:||424|
|Repository:||git://git.quassel-irc.org/quassel.git master||Lines Removed:||6|
|Commit Comment:||Provide (de)serialization for all event types
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 &)
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.