MythTV  master
Public Member Functions | Static Public Member Functions | Properties | Private Member Functions | List of all members
DTC::Enum Class Reference

#include <enum.h>

Inheritance diagram for DTC::Enum:
Inheritance graph
[legend]
Collaboration diagram for DTC::Enum:
Collaboration graph
[legend]

Public Member Functions

Q_INVOKABLE Enum (QObject *parent=nullptr)
 
void Copy (const Enum *src)
 
EnumItemAddNewEnum ()
 

Static Public Member Functions

static void InitializeCustomTypes ()
 

Properties

QString Type
 
QVariantList EnumItems
 

Private Member Functions

 Q_CLASSINFO ("version", "1.0")
 
 Q_CLASSINFO ("EnumItems", "type=DTC::Enum")
 
 Q_DISABLE_COPY (Enum)
 

Detailed Description

Definition at line 24 of file enum.h.

Constructor & Destructor Documentation

◆ Enum()

Q_INVOKABLE DTC::Enum::Enum ( QObject *  parent = nullptr)
inlineexplicit

Definition at line 45 of file enum.h.

Member Function Documentation

◆ Q_CLASSINFO() [1/2]

DTC::Enum::Q_CLASSINFO ( "version"  ,
"1.0"   
)
private

◆ Q_CLASSINFO() [2/2]

DTC::Enum::Q_CLASSINFO ( "EnumItems"  )
private

◆ InitializeCustomTypes()

void DTC::Enum::InitializeCustomTypes ( )
inlinestatic

Definition at line 72 of file enum.h.

Referenced by RttiServices::RttiServices().

◆ Copy()

void DTC::Enum::Copy ( const Enum src)
inline

Definition at line 50 of file enum.h.

◆ AddNewEnum()

EnumItem* DTC::Enum::AddNewEnum ( )
inline

Definition at line 57 of file enum.h.

Referenced by Rtti::GetEnum().

◆ Q_DISABLE_COPY()

DTC::Enum::Q_DISABLE_COPY ( Enum  )
private

Property Documentation

◆ Type

QString DTC::Enum::Type
readwrite

Definition at line 34 of file enum.h.

◆ EnumItems

QVariantList DTC::Enum::EnumItems
read

Definition at line 35 of file enum.h.


The documentation for this class was generated from the following file: