T'JAMPENS QUENTIN p2406187 3e9e248f04 Merge branch 'main' into 'feature/validateBtn'
# Conflicts:
#   mainwindow.h
#   mainwindow.ui
#   path.cpp
2025-06-20 14:24:44 +00:00

37 lines
804 B
C++

#ifndef STEP_H
#define STEP_H
#include <QString>
#include <QTextStream>
#include <iostream>
#include <QJsonObject>
#include <QList>
using namespace std;
class Step
{
private:
QString title;
float latitude;
float longitude;
int response;
QList<QString> personnage;
QList<QString> texte;
public:
Step();
Step(QJsonObject &in);
void setLatitude(int degree,float minute,QChar NS);
void setLongitude(int degree,float minute,QChar EW);
QString getTitle() const;
float getLatitude() const;
float getLongitude() const;
int getResponse() const;
QString toGPSFormat();
QList<QString> getPersonnage() const;
QList<QString> getTexte() const;
void setTitle(const QString &newTitle);
void setResponse(int newResponse);
};
#endif // STEP_H