27 Q_CLASSINFO(
"version" ,
"1.0" );
29 Q_PROPERTY( QString
Name READ
Name WRITE setName )
30 Q_PROPERTY( QString IP READ IP WRITE setIP )
31 Q_PROPERTY(
int Port READ Port WRITE setPort )
32 Q_PROPERTY(
int OnLine READ OnLine WRITE setOnLine )
41 static inline
void InitializeCustomTypes();
43 Q_INVOKABLE
Frontend(QObject *parent =
nullptr)
45 m_Port(0), m_OnLine(
false)
54 m_OnLine = src->m_OnLine;
63 qRegisterMetaType< Frontend* >();