MythTV
master
mythtv
programs
mythbackend
servicesv2
v2channelGroup.h
Go to the documentation of this file.
1
// Program Name: channelGroup.h
3
// Created : Nov. 15, 2013
4
//
5
// Copyright (c) 2013 Stuart Morgan <smorgan@mythtv.org>
6
//
7
// Licensed under the GPL v2 or later, see COPYING for details
8
//
10
11
#ifndef V2CHANNELGROUP_H_
12
#define V2CHANNELGROUP_H_
13
14
#include <QObject>
15
#include <QString>
16
17
#include "
libmythbase/http/mythhttpservice.h
"
18
19
class
V2ChannelGroup
:
public
QObject
20
{
21
Q_OBJECT
22
Q_CLASSINFO
(
"Version"
,
"0.99"
);
23
24
25
SERVICE_PROPERTY2
(
uint
, GroupId )
26
SERVICE_PROPERTY2
( QString ,
Name
)
27
SERVICE_PROPERTY2
( QString ,
Password
);
28
29
public
:
30
31
Q_INVOKABLE
V2ChannelGroup
(QObject *parent =
nullptr
)
32
: QObject( parent )
33
{
34
}
35
36
void
Copy
(
const
V2ChannelGroup
*src )
37
{
38
m_GroupId = src->m_GroupId ;
39
m_Name = src->m_Name ;
40
m_Password = src->m_Password ;
41
}
42
43
private
:
44
Q_DISABLE_COPY
(
V2ChannelGroup
);
45
};
46
47
Q_DECLARE_METATYPE
(
V2ChannelGroup
*)
48
49
#endif
Password
static StandardSetting * Password(bool enabled)
Setting for changing password.
Definition:
galleryconfig.cpp:245
V2ChannelGroup::V2ChannelGroup
Q_INVOKABLE V2ChannelGroup(QObject *parent=nullptr)
Definition:
v2channelGroup.h:31
V2ChannelGroup
Definition:
v2channelGroup.h:19
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(std::chrono::seconds)
V2ChannelGroup::Q_CLASSINFO
Q_CLASSINFO("Version", "0.99")
V2ChannelGroup::SERVICE_PROPERTY2
SERVICE_PROPERTY2(QString, Password)
mythhttpservice.h
Name
Definition:
channelsettings.cpp:71
V2ChannelGroup::Copy
void Copy(const V2ChannelGroup *src)
Definition:
v2channelGroup.h:36
V2ChannelGroup::Q_DISABLE_COPY
Q_DISABLE_COPY(V2ChannelGroup)
uint
unsigned int uint
Definition:
freesurround.h:24
Generated on Wed Feb 5 2025 03:16:32 for MythTV by
1.8.17