MythTV master
v2channelGroup.h
Go to the documentation of this file.
1
2// 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
18
19class 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 )
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:
45};
46
48
49#endif
Q_CLASSINFO("Version", "0.99")
SERVICE_PROPERTY2(QString, Password)
Q_DISABLE_COPY(V2ChannelGroup)
void Copy(const V2ChannelGroup *src)
unsigned int uint
Definition: freesurround.h:24
static StandardSetting * Password(bool enabled)
Setting for changing password.
Q_DECLARE_METATYPE(std::chrono::seconds)