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);
49 Enum* wrapEnum(QObject* parent =
nullptr)
51 return new Enum(QMetaEnum::fromType<T>(), parent);
Wrapper for enumerations.
Definition: enums.h:33
Definition: cursor.cpp:30