MagicSmoke  $VERSION$
srcMOArtist.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_MOArtist
4 #define WOBGEN_MOArtist
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> id READ id WRITE setid)
20  Q_PROPERTY(Nullable<QString> name READ name WRITE setname)
22  Q_PROPERTY(Nullable<QString> description READ description WRITE setdescription)
24  Q_PROPERTY(Nullable<QString> comment READ comment WRITE setcomment)
26  Q_PROPERTY(Nullable<QString> flags READ flags WRITE setflags)
28  Q_PROPERTY(Nullable<bool> canuse READ canuse WRITE setcanuse)
30  Q_PROPERTY(Nullable<QString> tags READ tags WRITE settags)
31  protected:
32  Nullable<qint64> mp_id;
33  Nullable<QString> mp_name;
34  Nullable<QString> mp_description;
35  Nullable<QString> mp_comment;
36  Nullable<QString> mp_flags;
37  Nullable<bool> mp_canuse;
38  Nullable<QString> mp_tags;
39  public:
41  virtual Nullable<qint64> id()const{return mp_id;}
43  virtual Nullable<QString> name()const{return mp_name;}
45  virtual Nullable<QString> description()const{return mp_description;}
47  virtual Nullable<QString> comment()const{return mp_comment;}
49  virtual Nullable<QString> flags()const{return mp_flags;}
51  virtual Nullable<bool> canuse()const{return mp_canuse;}
53  virtual Nullable<QString> tags()const{return mp_tags;}
55  virtual void setid(Nullable<qint64> s){mp_id=s;}
57  virtual void setname(Nullable<QString> s){mp_name=s;}
59  virtual void setdescription(Nullable<QString> s){mp_description=s;}
61  virtual void setcomment(Nullable<QString> s){mp_comment=s;}
63  virtual void setflags(Nullable<QString> s){mp_flags=s;}
65  virtual void setcanuse(Nullable<bool> s){mp_canuse=s;}
67  virtual void settags(Nullable<QString> s){mp_tags=s;}
68  public:
70  QString toString();
74  QDomElement toXml(QDomDocument&doc,QString name="Artist");
76  void toXml(QDomDocument&,QDomElement&);
77  public:
79  MOArtist():WObject(){}
81  MOArtist(const MOArtist&);
83  MOArtist& operator=(const MOArtist&);
85  explicit MOArtist(const QDomElement&);
87  static MOArtist fromXml(const QDomElement&);
89  static MOArtist fromString(const QString&);
91  virtual ~MOArtist(){}
92 
93 };
97 
98 //END OF AUTOMATICALLY GENERATED FILE
99 #endif
virtual void settags(Nullable< QString > s)
Definition: srcMOArtist.h:67
virtual void setcomment(Nullable< QString > s)
Definition: srcMOArtist.h:61
virtual ~MOArtist()
destructor: deletes this copy of the object
Definition: srcMOArtist.h:91
Definition: srcMOArtist.h:14
virtual Nullable< QString > name() const
Definition: srcMOArtist.h:43
virtual Nullable< QString > comment() const
Definition: srcMOArtist.h:47
virtual Nullable< QString > tags() const
Definition: srcMOArtist.h:53
virtual Nullable< QString > flags() const
Definition: srcMOArtist.h:49
virtual Nullable< bool > canuse() const
Definition: srcMOArtist.h:51
Nullable< QString > mp_flags
Definition: srcMOArtist.h:36
virtual Nullable< qint64 > id() const
Definition: srcMOArtist.h:41
Nullable< QString > mp_description
Definition: srcMOArtist.h:34
virtual void setflags(Nullable< QString > s)
Definition: srcMOArtist.h:63
Nullable< QString > mp_comment
Definition: srcMOArtist.h:35
virtual void setdescription(Nullable< QString > s)
Definition: srcMOArtist.h:59
virtual void setid(Nullable< qint64 > s)
Definition: srcMOArtist.h:55
virtual void setcanuse(Nullable< bool > s)
Definition: srcMOArtist.h:65
virtual void setname(Nullable< QString > s)
Definition: srcMOArtist.h:57
MOArtist()
default constructor: constructs an invalid instance of MOArtist
Definition: srcMOArtist.h:79
Nullable< QString > mp_tags
Definition: srcMOArtist.h:38
Q_DECLARE_METATYPE(QDomNode)
Nullable< bool > mp_canuse
Definition: srcMOArtist.h:37
#define WOBGEN_MAGICSMOKE__WOB_EXPORT
Definition: srcMOArtist.h:8
Nullable< qint64 > mp_id
Definition: srcMOArtist.h:32
virtual Nullable< QString > description() const
Definition: srcMOArtist.h:45
Nullable< QString > mp_name
Definition: srcMOArtist.h:33