student.h 305 B

123456789101112131415161718192021
  1. #ifndef STUDENT_H
  2. #define STUDENT_H
  3. #include <QObject>
  4. #include <optional>
  5. namespace TC {
  6. class StudentList : public QObject
  7. {
  8. Q_OBJECT
  9. public:
  10. StudentList();
  11. StudentList(const QString &name);
  12. std::optional<QJsonValue> get();
  13. QString url;
  14. };
  15. } // namespace TC
  16. #endif // STUDENT_H