MagicSmoke  $VERSION$
srcMOPaymentType.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_MOPaymentType
4 #define WOBGEN_MOPaymentType
5 
6 
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
9 #endif
10 
11 #include "WObject"
12 #include <QCoreApplication>
13 
16 {
17  Q_GADGET
19  Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
21  Q_PROPERTY(Nullable<QString> description READ description WRITE setdescription)
23  Q_PROPERTY(Nullable<QString> dataname READ dataname WRITE setdataname)
25  Q_PROPERTY(Nullable<QString> datapreset READ datapreset WRITE setdatapreset)
27  Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
28  protected:
29  Nullable<QString> mp_name;
30  Nullable<QString> mp_description;
31  Nullable<QString> mp_dataname;
32  Nullable<QString> mp_datapreset;
33  Nullable<QString> mp_flags;
34  public:
36  virtual Nullable<QString> name()const{return mp_name;}
38  virtual Nullable<QString> description()const{return mp_description;}
40  virtual Nullable<QString> dataname()const{return mp_dataname;}
42  virtual Nullable<QString> datapreset()const{return mp_datapreset;}
44  virtual Nullable<QString> flags()const{return mp_flags;}
46  virtual void setname(Nullable<QString> s){mp_name=s;}
48  virtual void setdescription(Nullable<QString> s){mp_description=s;}
50  virtual void setdataname(Nullable<QString> s){mp_dataname=s;}
52  virtual void setdatapreset(Nullable<QString> s){mp_datapreset=s;}
54  virtual void setflags(Nullable<QString> s){mp_flags=s;}
55  public:
57  QString toString();
61  QDomElement toXml(QDomDocument&doc,QString name="PaymentType");
63  void toXml(QDomDocument&,QDomElement&);
64  public:
66  MOPaymentType():WObject(){}
70  MOPaymentType& operator=(const MOPaymentType&);
72  explicit MOPaymentType(const QDomElement&);
74  static MOPaymentType fromXml(const QDomElement&);
76  static MOPaymentType fromString(const QString&);
78  virtual ~MOPaymentType(){}
79 
80 };
84 
85 //END OF AUTOMATICALLY GENERATED FILE
86 #endif
MOPaymentType()
default constructor: constructs an invalid instance of MOPaymentType
Definition: srcMOPaymentType.h:66
virtual Nullable< QString > description() const
Definition: srcMOPaymentType.h:38
Nullable< QString > mp_name
Definition: srcMOPaymentType.h:29
virtual ~MOPaymentType()
destructor: deletes this copy of the object
Definition: srcMOPaymentType.h:78
virtual Nullable< QString > name() const
Definition: srcMOPaymentType.h:36
virtual void setdataname(Nullable< QString > s)
Definition: srcMOPaymentType.h:50
virtual void setdatapreset(Nullable< QString > s)
Definition: srcMOPaymentType.h:52
Nullable< QString > mp_datapreset
Definition: srcMOPaymentType.h:32
virtual void setdescription(Nullable< QString > s)
Definition: srcMOPaymentType.h:48
virtual Nullable< QString > dataname() const
Definition: srcMOPaymentType.h:40
Nullable< QString > mp_description
Definition: srcMOPaymentType.h:30
This class represents a kind of payment information.
Definition: srcMOPaymentType.h:15
Nullable< QString > mp_dataname
Definition: srcMOPaymentType.h:31
Nullable< QString > mp_flags
Definition: srcMOPaymentType.h:33
Q_DECLARE_METATYPE(QDomNode)
virtual void setflags(Nullable< QString > s)
Definition: srcMOPaymentType.h:54
virtual Nullable< QString > datapreset() const
Definition: srcMOPaymentType.h:42
virtual void setname(Nullable< QString > s)
Definition: srcMOPaymentType.h:46
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOPaymentType.h:8
virtual Nullable< QString > flags() const
Definition: srcMOPaymentType.h:44