MagicSmoke  $VERSION$
srcMOContactType.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_MOContactType
4 #define WOBGEN_MOContactType
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 
15 {
16  Q_GADGET
18  Q_PROPERTY(Nullable<qint64> contacttypeid READ contacttypeid WRITE setcontacttypeid)
20  Q_PROPERTY(Nullable<QString> contacttype READ contacttype WRITE setcontacttype)
22  Q_PROPERTY(Nullable<QString> uriprefix READ uriprefix WRITE seturiprefix)
23  protected:
24  Nullable<qint64> mp_contacttypeid;
25  Nullable<QString> mp_contacttype;
26  Nullable<QString> mp_uriprefix;
27  public:
29  virtual Nullable<qint64> contacttypeid()const{return mp_contacttypeid;}
31  virtual Nullable<QString> contacttype()const{return mp_contacttype;}
33  virtual Nullable<QString> uriprefix()const{return mp_uriprefix;}
35  virtual void setcontacttypeid(Nullable<qint64> s){mp_contacttypeid=s;}
37  virtual void setcontacttype(Nullable<QString> s){mp_contacttype=s;}
39  virtual void seturiprefix(Nullable<QString> s){mp_uriprefix=s;}
40  public:
42  QString toString();
46  QDomElement toXml(QDomDocument&doc,QString name="ContactType");
48  void toXml(QDomDocument&,QDomElement&);
49  public:
51  MOContactType():WObject(){}
55  MOContactType& operator=(const MOContactType&);
57  explicit MOContactType(const QDomElement&);
59  static MOContactType fromXml(const QDomElement&);
61  static MOContactType fromString(const QString&);
63  virtual ~MOContactType(){}
64 
65 };
69 
70 //END OF AUTOMATICALLY GENERATED FILE
71 #endif
virtual void setcontacttype(Nullable< QString > s)
Definition: srcMOContactType.h:37
virtual Nullable< QString > uriprefix() const
Definition: srcMOContactType.h:33
virtual void setcontacttypeid(Nullable< qint64 > s)
Definition: srcMOContactType.h:35
Nullable< qint64 > mp_contacttypeid
Definition: srcMOContactType.h:24
virtual Nullable< qint64 > contacttypeid() const
Definition: srcMOContactType.h:29
virtual void seturiprefix(Nullable< QString > s)
Definition: srcMOContactType.h:39
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOContactType.h:8
MOContactType()
default constructor: constructs an invalid instance of MOContactType
Definition: srcMOContactType.h:51
virtual Nullable< QString > contacttype() const
Definition: srcMOContactType.h:31
Definition: srcMOContactType.h:14
virtual ~MOContactType()
destructor: deletes this copy of the object
Definition: srcMOContactType.h:63
Q_DECLARE_METATYPE(QDomNode)
Nullable< QString > mp_contacttype
Definition: srcMOContactType.h:25
Nullable< QString > mp_uriprefix
Definition: srcMOContactType.h:26