MythTV master
v2cutting.h
Go to the documentation of this file.
1
2// 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
19class 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_CLASSINFO("Version", "1.0")
void Copy(const V2Cutting *src)
Definition: v2cutting.h:34
Q_INVOKABLE V2Cutting(QObject *parent=nullptr)
Definition: v2cutting.h:29
Q_DISABLE_COPY(V2Cutting)
Q_DECLARE_METATYPE(std::chrono::seconds)
#define SERVICE_PROPERTY2(Type, Name)