MagicSmoke  $VERSION$
srcMOItemAudit.h
Go to the documentation of this file.
1 //BEGIN OF AUTOMATICALLY GENERATED FILE
2 //DO NOT EDIT THIS FILE DIRECTLY, USE THE XML SOURCE!
3 #ifndef WOBGEN_MOItemAudit
4 #define WOBGEN_MOItemAudit
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "MOItemInfo"
12 #include <QCoreApplication>
13 
15 {
16  Q_GADGET
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)
23  protected:
24  Nullable<qint64> mp_audittime;
25  Nullable<QString> mp_audituname;
26  Nullable<QString> mp_audittransaction;
27  public:
29  virtual Nullable<qint64> audittime()const{return mp_audittime;}
31  virtual Nullable<QString> audituname()const{return mp_audituname;}
33  virtual Nullable<QString> audittransaction()const{return mp_audittransaction;}
35  virtual void setaudittime(Nullable<qint64> s){mp_audittime=s;}
37  virtual void setaudituname(Nullable<QString> s){mp_audituname=s;}
39  virtual void setaudittransaction(Nullable<QString> s){mp_audittransaction=s;}
40  public:
42  QString toString();
46  QDomElement toXml(QDomDocument&doc,QString name="ItemAudit");
48  void toXml(QDomDocument&,QDomElement&);
49  public:
53  MOItemAudit(const MOItemAudit&);
57  explicit MOItemAudit(const QDomElement&);
59  static MOItemAudit fromXml(const QDomElement&);
61  static MOItemAudit fromString(const QString&);
63  virtual ~MOItemAudit(){}
64 
65 };
69 
70 //END OF AUTOMATICALLY GENERATED FILE
71 #endif
#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