Home
last modified time | relevance | path

Searched refs:EnumDefinitionElement (Results 1 – 4 of 4) sorted by relevance

/dports/devel/gammaray/GammaRay-2.11.3/common/
H A Denumdefinition.h41 class GAMMARAY_COMMON_EXPORT EnumDefinitionElement
44 EnumDefinitionElement() = default;
46 EnumDefinitionElement(int value, const char *name);
54 friend QDataStream &operator<<(QDataStream &out, const EnumDefinitionElement &elem);
55 friend QDataStream &operator>>(QDataStream &in, EnumDefinitionElement &elem);
87 QVector<EnumDefinitionElement> elements() const;
90 void setElements(const QVector<EnumDefinitionElement> &elements);
104 QVector<EnumDefinitionElement> m_elements;
116 Q_DECLARE_TYPEINFO(GammaRay::EnumDefinitionElement, Q_MOVABLE_TYPE);
H A Denumdefinition.cpp33 EnumDefinitionElement::EnumDefinitionElement(int value, const char *name) in EnumDefinitionElement() function in EnumDefinitionElement
39 QByteArray EnumDefinitionElement::name() const in name()
44 int EnumDefinitionElement::value() const in value()
50 QDataStream& operator<<(QDataStream &out, const EnumDefinitionElement &elem) in operator <<()
56 QDataStream& operator>>(QDataStream &in, EnumDefinitionElement &elem) in operator >>()
94 QVector<EnumDefinitionElement> EnumDefinition::elements() const in elements()
99 void EnumDefinition::setElements(const QVector<EnumDefinitionElement>& elements) in setElements()
/dports/devel/gammaray/GammaRay-2.11.3/core/
H A Denumrepositoryserver.h77 QVector<EnumDefinitionElement> elements; in registerEnum()
80 elements.push_back(EnumDefinitionElement(lookup_table[i].value, lookup_table[i].name)); in registerEnum()
83 …void registerEnum(int metaTypeId, const char *name, const QVector<EnumDefinitionElement> &elems, b…
H A Denumrepositoryserver.cpp82 QVector<EnumDefinitionElement> elements; in valueFromMetaEnum()
85 elements.push_back(EnumDefinitionElement(me.value(i), me.key(i))); in valueFromMetaEnum()
107 …terEnum(int metaTypeId, const char* name, const QVector<GammaRay::EnumDefinitionElement>& elems, b… in registerEnum()