#pragma once #include #include #include "Swiften/Events/StanzaEvent.h" namespace Swift { class QtEvent { public: QtEvent(boost::shared_ptr event, bool active); QVariant data(int role); boost::shared_ptr getEvent() { return event_; }; private: QString text(); boost::shared_ptr event_; bool active_; }; }