MythTV  master
v2cutting.h
Go to the documentation of this file.
1 // Program Name: cutting.h
3 // Created : Mar. 09, 2014
4 //
5 // Copyright (c) 2014 team MythTV
6 //
7 // Licensed under the GPL v2 or later, see COPYING for details
8 //
10 
11 #ifndef V2CUTTING_H_
12 #define V2CUTTING_H_
13 
14 #include <QString>
15 #include <QVariantList>
16 
18 
19 class V2Cutting : public QObject
20 {
21  Q_OBJECT
22  Q_CLASSINFO( "Version" , "1.0" );
23 
24  SERVICE_PROPERTY2 ( int , Mark )
25  SERVICE_PROPERTY2 ( qlonglong , Offset )
26 
27  public:
28 
29  Q_INVOKABLE V2Cutting(QObject *parent = nullptr)
30  : QObject( parent )
31  {
32  }
33 
34  void Copy( const V2Cutting *src )
35  {
36  m_Mark = src->m_Mark ;
37  m_Offset = src->m_Offset ;
38  }
39 
40  private:
42 };
43 
45 
46 #endif
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(StandardSetting *)
SERVICE_PROPERTY2
#define SERVICE_PROPERTY2(Type, Name)
Definition: mythhttpservice.h:72
V2Cutting::Copy
void Copy(const V2Cutting *src)
Definition: v2cutting.h:34
mythhttpservice.h
V2Cutting::V2Cutting
Q_INVOKABLE V2Cutting(QObject *parent=nullptr)
Definition: v2cutting.h:29
V2Cutting::Q_CLASSINFO
Q_CLASSINFO("Version", "1.0")
V2Cutting::Q_DISABLE_COPY
Q_DISABLE_COPY(V2Cutting)
V2Cutting
Definition: v2cutting.h:19