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
12class 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
Q_CLASSINFO("Version", "1.0")
void Copy(const V2RecRuleFilter *src)
Q_INVOKABLE V2RecRuleFilter(QObject *parent=nullptr)
Q_DISABLE_COPY(V2RecRuleFilter)
Q_DECLARE_METATYPE(std::chrono::seconds)
#define SERVICE_PROPERTY2(Type, Name)