MythTV  master
v2recRuleFilter.h
Go to the documentation of this file.
1 #ifndef V2RECRULEFILTER_H_
2 #define V2RECRULEFILTER_H_
3 
4 #include <QString>
5 #include <QDateTime>
6 
8 
9 
11 
12 class V2RecRuleFilter : public QObject
13 {
14  Q_OBJECT
15  Q_CLASSINFO( "Version" , "1.0" );
16 
17  SERVICE_PROPERTY2( int , Id )
18  SERVICE_PROPERTY2( QString , Description )
19 
20  public:
21 
22  Q_INVOKABLE V2RecRuleFilter(QObject *parent = nullptr)
23  : QObject( parent )
24  {
25  }
26 
27  void Copy( const V2RecRuleFilter *src )
28  {
29  m_Id = src->m_Id ;
30  m_Description = src->m_Description ;
31  }
32 
33  private:
35 };
36 
38 
39 #endif
V2RecRuleFilter::Copy
void Copy(const V2RecRuleFilter *src)
Definition: v2recRuleFilter.h:27
V2RecRuleFilter::Q_CLASSINFO
Q_CLASSINFO("Version", "1.0")
V2RecRuleFilter::Q_DISABLE_COPY
Q_DISABLE_COPY(V2RecRuleFilter)
V2RecRuleFilter::V2RecRuleFilter
Q_INVOKABLE V2RecRuleFilter(QObject *parent=nullptr)
Definition: v2recRuleFilter.h:22
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(std::chrono::seconds)
SERVICE_PROPERTY2
#define SERVICE_PROPERTY2(Type, Name)
Definition: mythhttpservice.h:72
mythhttpservice.h
V2RecRuleFilter
Definition: v2recRuleFilter.h:12