MythTV  master
v2wolInfo.h
Go to the documentation of this file.
1 #ifndef V2WOLINFO_H_
2 #define V2WOLINFO_H_
3 
4 #include <QString>
6 
7 class V2WOLInfo : public QObject
8 {
9  Q_OBJECT
10  Q_CLASSINFO( "Version" , "1.0" );
11 
12  SERVICE_PROPERTY2( bool , Enabled );
14  SERVICE_PROPERTY2( int , Retry );
15  SERVICE_PROPERTY2( QString , Command );
16 
17  public:
18 
19  Q_INVOKABLE V2WOLInfo(QObject *parent = nullptr)
20  : QObject( parent )
21  {
22  }
23 
24  void Copy( const V2WOLInfo *src )
25  {
26  m_Enabled = src->m_Enabled ;
27  m_Reconnect= src->m_Reconnect;
28  m_Retry = src->m_Retry ;
29  m_Command = src->m_Command ;
30  }
31 
32  private:
34 };
35 
37 
38 #endif // V2WOLINFO_H_
V2WOLInfo
Definition: v2wolInfo.h:7
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(StandardSetting *)
Command
Definition: gamesettings.cpp:233
V2WOLInfo::Q_DISABLE_COPY
Q_DISABLE_COPY(V2WOLInfo)
V2WOLInfo::Copy
void Copy(const V2WOLInfo *src)
Definition: v2wolInfo.h:24
V2WOLInfo::V2WOLInfo
Q_INVOKABLE V2WOLInfo(QObject *parent=nullptr)
Definition: v2wolInfo.h:19
mythhttpservice.h
Reconnect
Definition: backendconnectionmanager.cpp:28
V2WOLInfo::Q_CLASSINFO
Q_CLASSINFO("Version", "1.0")
V2WOLInfo::SERVICE_PROPERTY2
SERVICE_PROPERTY2(bool, Enabled)