MythTV  master
v2channelRestore.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 V2CHANNELRESTORE_H_
12 #define V2CHANNELRESTORE_H_
13 
14 #include <QObject>
15 #include <QString>
16 
18 
19 class V2ChannelRestore : public QObject
20 {
21  Q_OBJECT
22  Q_CLASSINFO( "Version", "0.99" );
23 
24  SERVICE_PROPERTY2( int , NumChannels )
25  SERVICE_PROPERTY2( int , NumXLMTVID )
26  SERVICE_PROPERTY2( int , NumIcon )
27  SERVICE_PROPERTY2( int , NumVisible );
28 
29  public:
30 
31  Q_INVOKABLE V2ChannelRestore(QObject *parent = nullptr)
32  : QObject( parent )
33  {
34  }
35 
36  // void Copy( const V2ChannelRestore *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
V2ChannelRestore::Q_DISABLE_COPY
Q_DISABLE_COPY(V2ChannelRestore)
V2ChannelRestore::SERVICE_PROPERTY2
SERVICE_PROPERTY2(int, NumVisible)
V2ChannelRestore::V2ChannelRestore
Q_INVOKABLE V2ChannelRestore(QObject *parent=nullptr)
Definition: v2channelRestore.h:31
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(std::chrono::seconds)
V2ChannelRestore::Q_CLASSINFO
Q_CLASSINFO("Version", "0.99")
mythhttpservice.h
V2ChannelRestore
Definition: v2channelRestore.h:19