11 #ifndef VIDEOSTREAMINFOLIST_H_
12 #define VIDEOSTREAMINFOLIST_H_
14 #include <QVariantList>
27 Q_CLASSINFO(
"version",
"1.00" );
32 Q_CLASSINFO(
"VideoStreamInfos",
"type=DTC::VideoStreamInfo");
33 Q_CLASSINFO(
"AsOf" ,
"transient=true" );
35 Q_PROPERTY(
int Count READ Count WRITE setCount )
36 Q_PROPERTY( QDateTime AsOf READ AsOf WRITE setAsOf )
37 Q_PROPERTY( QString Version READ Version WRITE setVersion )
38 Q_PROPERTY( QString ProtoVer READ ProtoVer WRITE setProtoVer )
39 Q_PROPERTY(
int ErrorCode READ ErrorCode WRITE setErrorCode )
40 Q_PROPERTY( QString ErrorMsg READ ErrorMsg WRITE setErrorMsg )
42 Q_PROPERTY( QVariantList VideoStreamInfos READ VideoStreamInfos )
55 static inline
void InitializeCustomTypes();
65 m_Count = src->m_Count ;
66 m_AsOf = src->m_AsOf ;
67 m_Version = src->m_Version ;
68 m_ProtoVer = src->m_ProtoVer ;
69 m_ErrorCode = src->m_ErrorCode ;
70 m_ErrorMsg = src->m_ErrorMsg ;
72 CopyListContents< VideoStreamInfo >(
this, m_VideoStreamInfos, src->m_VideoStreamInfos );
81 m_VideoStreamInfos.append( QVariant::fromValue<QObject *>( pObject ));
92 qRegisterMetaType< VideoStreamInfoList* >();