MagicSmoke  $VERSION$
MOAItem Class Reference

#include <orderauditdlg_p.h>

Inheritance diagram for MOAItem:
MOADynamicObject

Public Types

enum  ItemType { None, Order, Ticket, Voucher }
 

Public Slots

qint64 auditTime () const
 
QString auditTransaction () const
 
QString auditUser () const
 
bool isSameTransaction (const MOAItem &i) const
 
QString itemID () const
 
QString itemTypeString () const
 
MOOrderAudit order () const
 
MOTicketAudit ticket () const
 
MOVoucherAudit voucher () const
 

Public Member Functions

 MOAItem ()
 
 MOAItem (const MOOrderAudit &a)
 
 MOAItem (const MOTicketAudit &a)
 
 MOAItem (const MOVoucherAudit &a)
 
 MOAItem (const MOAItem &i)
 
virtual QVariant getValue (QString n)
 
virtual bool hasValue (QString n)
 
ItemType itemType () const
 
MOAItemoperator= (const MOAItem &i)
 

Member Enumeration Documentation

Enumerator
None 
Order 
Ticket 
Voucher 

Constructor & Destructor Documentation

MOAItem::MOAItem ( )
inline

References None.

MOAItem::MOAItem ( const MOOrderAudit a)
inline

References Order.

MOAItem::MOAItem ( const MOTicketAudit a)
inline

References Ticket.

MOAItem::MOAItem ( const MOVoucherAudit a)
inline

References Voucher.

MOAItem::MOAItem ( const MOAItem i)
inline

References operator=().

Member Function Documentation

qint64 MOAItem::auditTime ( ) const
inlineslot

References MOOrderAudit::audittime, Order, Ticket, and Voucher.

Referenced by isSameTransaction().

QString MOAItem::auditTransaction ( ) const
inlineslot
QString MOAItem::auditUser ( ) const
inlineslot
virtual QVariant MOAItem::getValue ( QString  n)
inlinevirtual

Reimplemented from MOADynamicObject.

References getMetaValue(), hasMetaValue(), Order, Ticket, and Voucher.

virtual bool MOAItem::hasValue ( QString  n)
inlinevirtual

Reimplemented from MOADynamicObject.

References hasMetaValue(), Order, Ticket, and Voucher.

bool MOAItem::isSameTransaction ( const MOAItem i) const
inlineslot
QString MOAItem::itemID ( ) const
inlineslot
ItemType MOAItem::itemType ( ) const
inline
QString MOAItem::itemTypeString ( ) const
inlineslot

References Order, Ticket, and Voucher.

MOAItem& MOAItem::operator= ( const MOAItem i)
inline

Referenced by MOAItem().

MOOrderAudit MOAItem::order ( ) const
inlineslot
MOTicketAudit MOAItem::ticket ( ) const
inlineslot
MOVoucherAudit MOAItem::voucher ( ) const
inlineslot

The documentation for this class was generated from the following file: