MagicSmoke  $VERSION$
MOAParcel Class Reference

#include <orderauditdlg_p.h>

Inheritance diagram for MOAParcel:
MOADynamicObject

Public Slots

bool addItem (const MOAItem &i)
 
qint64 auditTime () const
 
QString auditTransaction () const
 
QString auditUser () const
 
bool isSameTransaction (const MOAItem &i) const
 
qint64 size () const
 
qint64 totalPrice () const
 

Public Member Functions

 MOAParcel ()
 
 MOAParcel (const MOAParcel &p)
 
 MOAParcel (const MOAItem &i)
 
MOAItem item (int i) const
 
MOAItemitem (int i)
 
bool operator< (const MOAParcel &p) const
 
MOAParceloperator= (const MOAParcel &p)
 
MOAItem operator[] (int i) const
 
MOAItemoperator[] (int i)
 
void setPrice (qint64 p)
 
- Public Member Functions inherited from MOADynamicObject
virtual QVariant getValue (QString n)
 
virtual bool hasValue (QString n)
 

Constructor & Destructor Documentation

MOAParcel::MOAParcel ( )
inline
MOAParcel::MOAParcel ( const MOAParcel p)
inline
MOAParcel::MOAParcel ( const MOAItem i)
inline

Member Function Documentation

bool MOAParcel::addItem ( const MOAItem i)
inlineslot

References isSameTransaction().

qint64 MOAParcel::auditTime ( ) const
inlineslot

Referenced by operator<().

QString MOAParcel::auditTransaction ( ) const
inlineslot
QString MOAParcel::auditUser ( ) const
inlineslot
bool MOAParcel::isSameTransaction ( const MOAItem i) const
inlineslot

Referenced by addItem().

MOAItem MOAParcel::item ( int  i) const
inline
MOAItem& MOAParcel::item ( int  i)
inline
bool MOAParcel::operator< ( const MOAParcel p) const
inline

References auditTime().

MOAParcel& MOAParcel::operator= ( const MOAParcel p)
inline
MOAItem MOAParcel::operator[] ( int  i) const
inline
MOAItem& MOAParcel::operator[] ( int  i)
inline
void MOAParcel::setPrice ( qint64  p)
inline
qint64 MOAParcel::size ( ) const
inlineslot
qint64 MOAParcel::totalPrice ( ) const
inlineslot

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