MythTV master
frontendActionList.h
Go to the documentation of this file.
1#ifndef FRONTENDACTIONLIST_H
2#define FRONTENDACTIONLIST_H
3
5
6namespace DTC
7{
8 class FrontendActionList : public QObject
9 {
10 Q_OBJECT
11 Q_CLASSINFO("version", "1.0");
12
13 Q_CLASSINFO( "ActionList", "type=QString;name=Action"); // is this legal?
14
15 Q_PROPERTY(QVariantMap ActionList READ ActionList )
16
18
19 public:
20
21 static inline void InitializeCustomTypes();
22
23 Q_INVOKABLE explicit FrontendActionList(QObject *parent = nullptr) : QObject(parent)
24 {
25 }
26
27 void Copy( const FrontendActionList *src)
28 {
29 m_ActionList = src->m_ActionList;
30 }
31
32 private:
34 };
36{
37 qRegisterMetaType<FrontendActionList*>();
38}
39
40};
41
42#endif // FRONTENDACTIONLIST_H
QList< ActionID > ActionList
Definition: action.h:115
PROPERTYIMP_RO_REF(QVariantMap, ActionList)
static void InitializeCustomTypes()
Q_DISABLE_COPY(FrontendActionList)
Q_CLASSINFO("version", "1.0")
void Copy(const FrontendActionList *src)