Add getters for dialog Lists
This commit is contained in:
parent
aed27c2483
commit
c4bcb8f0b8
10
step.cpp
10
step.cpp
@ -34,6 +34,16 @@ Step::Step() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QList<QString> Step::getPersonnage() const
|
||||||
|
{
|
||||||
|
return personnage;
|
||||||
|
}
|
||||||
|
|
||||||
|
QList<QString> Step::getTexte() const
|
||||||
|
{
|
||||||
|
return texte;
|
||||||
|
}
|
||||||
|
|
||||||
Step::Step( QJsonObject &in)
|
Step::Step( QJsonObject &in)
|
||||||
{
|
{
|
||||||
title = in["title"].toString();
|
title = in["title"].toString();
|
||||||
|
|||||||
2
step.h
2
step.h
@ -26,6 +26,8 @@ public:
|
|||||||
float getLatitude() const;
|
float getLatitude() const;
|
||||||
float getLongitude() const;
|
float getLongitude() const;
|
||||||
int getResponse() const;
|
int getResponse() const;
|
||||||
|
QList<QString> getPersonnage() const;
|
||||||
|
QList<QString> getTexte() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // STEP_H
|
#endif // STEP_H
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user