kmmsglist.h
void insert(unsigned int idx, KMMsgBase *msg, bool syncDict=true)
Insert message at given index.
Definition: kmmsglist.cpp:107
KMMsgBase * take(unsigned int idx)
Returns message at given index and removes it from the list.
Definition: kmmsglist.cpp:161
unsigned int append(KMMsgBase *msg, bool syncDict=true)
Append given message after the last used message.
Definition: kmmsglist.cpp:131
bool reset(unsigned int size)
Clear the array and resize it to given size.
Definition: kmmsglist.cpp:83
void remove(unsigned int idx)
Remove message at given index without deleting it.
Definition: kmmsglist.cpp:140
bool resize(unsigned int size)
Resize array and initialize new elements if any.
Definition: kmmsglist.cpp:51
unsigned int high() const
Returns first unused index (index of last message plus one).
Definition: kmmsglist.h:83