2 #ifndef RECRULEFILTERLIST_H_
3 #define RECRULEFILTERLIST_H_
5 #include <QVariantList>
19 Q_CLASSINFO(
"version",
"1.0" );
24 Q_CLASSINFO(
"RecRuleFilters",
"type=DTC::RecRuleFilter");
25 Q_CLASSINFO(
"AsOf" ,
"transient=true" );
27 Q_PROPERTY(
int StartIndex READ StartIndex WRITE setStartIndex )
28 Q_PROPERTY(
int Count READ Count WRITE setCount )
29 Q_PROPERTY(
int TotalAvailable READ TotalAvailable WRITE setTotalAvailable )
30 Q_PROPERTY( QDateTime AsOf READ AsOf WRITE setAsOf )
31 Q_PROPERTY( QString Version READ Version WRITE setVersion )
32 Q_PROPERTY( QString ProtoVer READ ProtoVer WRITE setProtoVer )
34 Q_PROPERTY( QVariantList RecRuleFilters READ RecRuleFilters )
47 static inline
void InitializeCustomTypes();
53 m_TotalAvailable ( 0 )
59 m_AsOf = src->m_AsOf ;
60 m_Version = src->m_Version ;
61 m_ProtoVer = src->m_ProtoVer ;
63 CopyListContents< RecRuleFilter >(
this, m_RecRuleFilters, src->m_RecRuleFilters );
72 m_RecRuleFilters.append( QVariant::fromValue<QObject *>( pObject ));
83 qRegisterMetaType< RecRuleFilterList* >();