Mercurial > minori
diff src/include/information.h @ 2:23d0d9319a00
Update
Also converted everything to LF from CRLF
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 12 Aug 2023 03:16:26 -0400 |
parents | 1ae666fdf9e2 |
children | 07a9095eaeed |
line wrap: on
line diff
--- a/src/include/information.h Tue Aug 08 19:49:15 2023 -0400 +++ b/src/include/information.h Sat Aug 12 03:16:26 2023 -0400 @@ -1,11 +1,14 @@ -#ifndef __information_h -#define __information_h -class InformationDialog: public wxDialog { - public: - InformationDialog(wxWindow* parent, wxWindowID id, const wxString& title, - const Anime& anime, const wxPoint& pos = wxDefaultPosition, - long style = wxDEFAULT_DIALOG_STYLE); - private: - wxNotebook* dialogText; -}; +#ifndef __information_h +#define __information_h +#include "anime.h" +class InformationDialog: public QDialog { + Q_OBJECT + public: + InformationDialog(Anime& a, AnimeListWidgetModel* model, QWidget* parent = nullptr); + + private: + void OnOK(); + Anime* anime; + AnimeListWidgetModel* model; +}; #endif // __information_h \ No newline at end of file