libQuotient
A Qt library for building matrix clients
|
#include <eventitem.h>
Public Types | |
using | index_t = int |
Public Types inherited from Quotient::EventItemBase | |
using | value_type = RoomEvent |
Public Member Functions | |
TimelineItem (RoomEventPtr &&e, index_t number) | |
index_t | index () const |
Public Member Functions inherited from Quotient::EventItemBase | |
EventItemBase (RoomEventPtr &&e) | |
const RoomEvent * | event () const |
const RoomEvent * | get () const |
template<EventClass< RoomEvent > EventT> | |
const EventT * | viewAs () const |
const RoomEventPtr & | operator-> () const |
const RoomEvent & | operator* () const |
RoomEventPtr | replaceEvent (RoomEventPtr &&other) |
void | setUserData (std::any userData) |
Store arbitrary data with the event item. More... | |
const std::any & | userdata () const |
Obtain custom data previously stored with the event item. More... | |
std::any & | userData () |
Additional Inherited Members | |
Protected Member Functions inherited from Quotient::EventItemBase | |
template<EventClass< RoomEvent > EventT> | |
EventT * | getAs () |
Definition at line 83 of file eventitem.h.
using Quotient::TimelineItem::index_t = int |
Definition at line 87 of file eventitem.h.
|
inline |
Definition at line 89 of file eventitem.h.
|
inline |
Definition at line 93 of file eventitem.h.