#ifndef STEP_H #define STEP_H #include #include #include #include #include using namespace std; class Step { private: QString title; float latitude; float longitude; int response; QList personnage; QList texte; public: Step(); Step(QJsonObject &in); void setLatitude(int degree,float minute,QChar NS); void setLongitude(int degree,float minute,QChar EW); void setLatitude(float lat); void setLongitude(float lon); QString getTitle() const; float getLatitude() const; float getLongitude() const; int getResponse() const; QList getPersonnage() const; QList getTexte() const; void setTitle(const QString &newTitle); void setResponse(int newResponse); void setPersonnage(const QList &newPersonnage); void setTexte(const QList &newTexte); QString toGPSFormat(); void addPersonnage(const QString& pers) ; void addTexte(const QString& txt); void clearPersonnages(); void clearTextes(); }; #endif // STEP_H