20 #ifndef __PLUGIN_API_ENUMS_H__ 21 #define __PLUGIN_API_ENUMS_H__ 23 #include <QQmlPropertyMap> 33 class Enum :
public QQmlPropertyMap {
38 Enum(
const QMetaEnum& _enum, QObject* parent =
nullptr);
51 return new Enum(QMetaEnum::fromType<T>(), parent);
Enum * wrapEnum(QObject *parent=nullptr)
Definition: enums.h:49
Wrapper for enumerations.
Definition: enums.h:33
Definition: aeolus.cpp:26
Enum(const QMetaEnum &_enum, QObject *parent=nullptr)
Definition: enums.cpp:29