3 #ifndef WOBGEN_MOArtist
4 #define WOBGEN_MOArtist
7 #ifndef WOBGEN_MAGICSMOKE__WOB_EXPORT
8 #define WOBGEN_MAGICSMOKE__WOB_EXPORT Q_DECL_IMPORT
12 #include <QCoreApplication>
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)
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;}
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;}
74 QDomElement toXml(QDomDocument&doc,QString name=
"Artist");
76 void toXml(QDomDocument&,QDomElement&);
85 explicit MOArtist(
const QDomElement&);
87 static MOArtist fromXml(
const QDomElement&);
89 static MOArtist fromString(
const QString&);
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