3 #ifndef WOBGEN_MOItemAudit
4 #define WOBGEN_MOItemAudit
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
18 Q_PROPERTY(Nullable<qint64> audittime READ audittime WRITE setaudittime)
20 Q_PROPERTY(Nullable<QString> audituname READ audituname WRITE setaudituname)
22 Q_PROPERTY(Nullable<QString> audittransaction READ audittransaction WRITE setaudittransaction)
29 virtual Nullable<qint64>
audittime()
const{
return mp_audittime;}
31 virtual Nullable<QString>
audituname()
const{
return mp_audituname;}
46 QDomElement
toXml(QDomDocument&doc,QString name=
"ItemAudit");
48 void toXml(QDomDocument&,QDomElement&);
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOItemAudit.h:8
virtual void setaudituname(Nullable< QString > s)
Definition: srcMOItemAudit.h:37
used for basic info about items
Definition: srcMOItemInfo.h:15
virtual Nullable< QString > audittransaction() const
Definition: srcMOItemAudit.h:33
static MOItemInfo fromXml(const QDomElement &)
create MOItemInfo from XML (inverse of toXml)
Definition: srcMOItemInfo.cpp:105
MOItemAudit()
default constructor: constructs an invalid instance of MOItemAudit
Definition: srcMOItemAudit.h:51
virtual void setaudittransaction(Nullable< QString > s)
Definition: srcMOItemAudit.h:39
Nullable< qint64 > mp_audittime
Definition: srcMOItemAudit.h:24
virtual void setaudittime(Nullable< qint64 > s)
Definition: srcMOItemAudit.h:35
Nullable< QString > mp_audittransaction
Definition: srcMOItemAudit.h:26
Definition: srcMOItemAudit.h:14
virtual ~MOItemAudit()
destructor: deletes this copy of the object
Definition: srcMOItemAudit.h:63
MOItemInfo & operator=(const MOItemInfo &)
copy assignment: creates a (deep) copy of the object
Definition: srcMOItemInfo.cpp:54
Nullable< QString > mp_audituname
Definition: srcMOItemAudit.h:25
Q_DECLARE_METATYPE(QDomNode)
virtual Nullable< QString > audituname() const
Definition: srcMOItemAudit.h:31
QDomElement toXml(QDomDocument &doc, QString name="ItemInfo")
Transforms the object into its XML representation, the element node returned is not appended to the d...
Definition: srcMOItemInfo.cpp:13
static MOItemInfo fromString(const QString &)
create MOItemInfo from XML formatted string (inverse of toString)
Definition: srcMOItemInfo.cpp:106
QString toString()
Serializes the object to XML and returns the string representation of that XML.
Definition: srcMOItemInfo.cpp:7
virtual Nullable< qint64 > audittime() const
Definition: srcMOItemAudit.h:29