MythTV
master
programs
mythbackend
servicesv2
v2titleInfo.h
Go to the documentation of this file.
1
// Program Name: titleInfo.h
3
// Created : June 14, 2013
4
//
5
// Copyright (c) 2013 Chris Pinkham <cpinkham@mythtv.org>
6
//
7
// Licensed under the GPL v2 or later, see COPYING for details
8
//
10
11
#ifndef V2TITLEINFO_H_
12
#define V2TITLEINFO_H_
13
14
#include <QString>
15
16
#include "
libmythbase/http/mythhttpservice.h
"
17
19
20
class
V2TitleInfo
:
public
QObject
21
{
22
Q_OBJECT
23
Q_CLASSINFO
(
"Version"
,
"1.1"
);
24
25
SERVICE_PROPERTY2
( QString , Title )
26
SERVICE_PROPERTY2
( QString , Inetref )
27
SERVICE_PROPERTY2
(
int
, Count );
28
29
public
:
30
31
Q_INVOKABLE
V2TitleInfo
(QObject *parent =
nullptr
)
32
: QObject( parent )
33
{
34
}
35
36
void
Copy
(
const
V2TitleInfo
*src )
37
{
38
m_Title = src->m_Title ;
39
m_Inetref = src->m_Inetref ;
40
m_Count = src->m_Count ;
41
}
42
43
private
:
44
Q_DISABLE_COPY
(
V2TitleInfo
);
45
};
46
47
Q_DECLARE_METATYPE
(
V2TitleInfo
*)
48
49
#endif
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(StandardSetting *)
V2TitleInfo::SERVICE_PROPERTY2
SERVICE_PROPERTY2(int, Count)
V2TitleInfo::V2TitleInfo
Q_INVOKABLE V2TitleInfo(QObject *parent=nullptr)
Definition:
v2titleInfo.h:31
mythhttpservice.h
V2TitleInfo::Q_CLASSINFO
Q_CLASSINFO("Version", "1.1")
V2TitleInfo::Copy
void Copy(const V2TitleInfo *src)
Definition:
v2titleInfo.h:36
V2TitleInfo
Definition:
v2titleInfo.h:20
V2TitleInfo::Q_DISABLE_COPY
Q_DISABLE_COPY(V2TitleInfo)
Generated on Sat May 27 2023 03:21:55 for MythTV by
1.8.17