1 #ifndef OSMSCOUT_CLIENT_QT_VOICE_H 2 #define OSMSCOUT_CLIENT_QT_VOICE_H 33 Q_PROPERTY(
bool valid READ isValid() CONSTANT)
35 Q_PROPERTY(QString lang READ getLang() CONSTANT)
36 Q_PROPERTY(QString gender READ getGender() CONSTANT)
37 Q_PROPERTY(QString name READ getName() CONSTANT)
38 Q_PROPERTY(QString license READ getLicense() CONSTANT)
39 Q_PROPERTY(QString directory READ getDirectory() CONSTANT)
40 Q_PROPERTY(QString author READ getAuthor() CONSTANT)
41 Q_PROPERTY(QString description READ getDescription() CONSTANT)
61 const QString &gender,
63 const QString &license,
64 const QString &directory,
65 const QString &author,
66 const QString &description);
121 explicit Voice(QDir dir);
125 Voice &operator=(
const Voice &other) =
default;
172 static QStringList files();
177 bool metadata{
false};
189 #endif //OSMSCOUT_CLIENT_QT_VOICE_H #define OSMSCOUT_CLIENT_QT_API
Definition: ClientQtImportExport.h:45
QString getGender() const
Definition: Voice.h:81
QString getAuthor() const
Definition: Voice.h:155
bool isValid() const
Definition: Voice.h:106
QString getDescription() const
Definition: Voice.h:160
QString getName() const
Definition: Voice.h:85
QString getLicense() const
Definition: Voice.h:150
QString getAuthor() const
Definition: Voice.h:97
VoiceProvider getProvider() const
Definition: Voice.h:72
QString getGender() const
Definition: Voice.h:140
QString getName() const
Definition: Voice.h:145
QString getLang() const
Definition: Voice.h:77
bool isValid() const
Definition: Voice.h:165
Definition: VoiceProvider.h:38
QDir getDir() const
Definition: Voice.h:130
QString getLicense() const
Definition: Voice.h:89
QString getLang() const
Definition: Voice.h:135
QString getDescription() const
Definition: Voice.h:101
QString getDirectory() const
Definition: Voice.h:93