2025-06-19 08:26:49 +00:00

35 lines
628 B
C++

#ifndef PATH_H
#define PATH_H
#include <QMainWindow>
#include <QFile>
#include "step.h"
class Path
{
private:
QString city;
int departement;
QString name;
unsigned int difficulty;
float duration;
float length;
QString image;
QList<Step> step;
public:
Path();
Path(QFile *file);
void addStep(int indice=-1);
QString getCity() const;
int getDepartement() const;
QString getName() const;
unsigned int getDifficulty() const;
float getDuration() const;
float getLength() const;
QString getImage() const;
QList<Step> getStep() const;
};
#endif // PATH_H