comparison include/gui/dialog/information.h @ 63:3d2decf093bb

*: fix many clang warnings
author Paper <mrpapersonic@gmail.com>
date Sun, 01 Oct 2023 06:39:47 -0400
parents 75c804f713b2
children d02fdf1d6708
comparison
equal deleted inserted replaced
62:4c6dd5999b39 63:3d2decf093bb
1 #ifndef __gui__dialog__information_h 1 #ifndef __gui__dialog__information_h
2 #define __gui__dialog__information_h 2 #define __gui__dialog__information_h
3 #include "core/anime.h"
4 #include "core/date.h"
3 #include <QDialog> 5 #include <QDialog>
4 #include <functional> 6 #include <functional>
5 #include "core/date.h"
6 #include "core/anime.h"
7 7
8 class InformationDialog : public QDialog { 8 class InformationDialog : public QDialog {
9 Q_OBJECT 9 Q_OBJECT
10 10
11 public: 11 public:
12 InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr); 12 InformationDialog(const Anime::Anime& anime, std::function<void()> accept, QWidget* parent = nullptr);
13 13
14 private: 14 private:
15 unsigned int id; 15 unsigned int id;
16 unsigned int progress; 16 unsigned int progress;
17 unsigned int episodes;
18 unsigned int score; 17 unsigned int score;
19 bool rewatching; 18 bool rewatching;
20 Anime::ListStatus status; 19 Anime::ListStatus status;
21 std::string notes; 20 std::string notes;
22 Date started; 21 Date started;