You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
613 B

  1. #ifndef EPISODES_H
  2. #define EPISODES_H
  3. #include <QDialog>
  4. #include "crunchyrollapi.h"
  5. namespace Ui {
  6. class episodes;
  7. }
  8. class episodes : public QDialog
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit episodes(CrunchyrollAPI* _api,QVector<meta_episode_t> _allEpisodes,
  13. QVector<meta_episode_t> currentEpisodes,QWidget *parent = nullptr);
  14. ~episodes();
  15. QVector<meta_episode_t> getSelectedEpisodes();
  16. private slots:
  17. void selected();
  18. private:
  19. Ui::episodes *ui;
  20. CrunchyrollAPI* api;
  21. QVector<meta_episode_t> selection;
  22. QVector<meta_episode_t> allEpisodes;
  23. };
  24. #endif // EPISODES_H