6#include <QDBusMetaType>
23 qRegisterMetaType<swift::misc::CSequence<CIcon>>();
24 qDBusRegisterMetaType<swift::misc::CSequence<CIcon>>();
25 qRegisterMetaType<swift::misc::CCollection<CIcon>>();
26 qDBusRegisterMetaType<swift::misc::CCollection<CIcon>>();
27 qRegisterMetaType<CIconList>();
28 qDBusRegisterMetaType<CIconList>();
Value object for icons. An icon is stored in the global icon repository and identified by its index....
CIcons::IconIndex getIndex() const
Index.
static void registerMetadata()
Register metadata of unit and quantity.
CIconList()=default
Constructor.
CIcon findByIndex(CIcons::IconIndex index) const
Find by index.
IconIndex
Index for each icon, allows to send them via DBus, efficiently store them, etc.
const_reference frontOrDefault() const
Access the first element, or a default-initialized value if the sequence is empty.
CSequence findBy(Predicate p) const
Free functions in swift::misc.
void registerMetaValueType()
This registers the value type T with the swift::misc:: meta type system, making it available for use ...
#define SWIFT_DEFINE_SEQUENCE_MIXINS(Namespace, T, List)
Explicit template definition of mixins for a CSequence subclass.