MythTV master
v2genre.h
Go to the documentation of this file.
1
2// Program Name: genre.h
3// Created : Mar. 08, 2017
4//
5// Copyright (c) 2017 Paul Harrison <pharrison@mythtv.org>
6//
7// Licensed under the GPL v2 or later, see COPYING for details
8//
10
11#ifndef V2GENRE_H_
12#define V2GENRE_H_
13
14#include <QString>
15
17
18
20
21class V2Genre : public QObject
22{
23 Q_OBJECT
24 Q_CLASSINFO( "Version" , "1.0" );
25
26 SERVICE_PROPERTY2( QString , Name );
27
28 public:
29
30 // static inline void InitializeCustomTypes();
31
32 Q_INVOKABLE V2Genre(QObject *parent = nullptr)
33 : QObject ( parent )
34 {
35 }
36
37 void Copy( const V2Genre *src )
38 {
39 m_Name = src->m_Name ;
40 }
41
42 private:
44};
45
47
48#endif
Q_CLASSINFO("Version", "1.0")
Q_DISABLE_COPY(V2Genre)
SERVICE_PROPERTY2(QString, Name)
Q_INVOKABLE V2Genre(QObject *parent=nullptr)
Definition: v2genre.h:32
void Copy(const V2Genre *src)
Definition: v2genre.h:37
Q_DECLARE_METATYPE(std::chrono::seconds)