Blame view
Season.h
441 Bytes
3f2992b2c
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
#ifndef SEASON_H #define SEASON_H #include <QString> #include "Segment.h" class Season: public Segment { public: Season(Segment *parentSegment); Season(int number, Segment *parentSegment, qint64 position = 0, Segment::Source source = Segment::Manual); ~Season(); void read(const QJsonObject &json); void write(QJsonObject &json) const; QString display() const; int getNumber() const; private: int m_number; }; #endif |