Mercurial > minori
diff include/gui/widgets/anime_info.h @ 301:b1f625b0227c
*: convert all files CRLF -> LF
some files were in DOS format, others were in unix. now everything
(that at least is under our control) should all be the same format
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 13 May 2024 15:04:51 -0400 |
parents | 9a88e1725fd2 |
children | 1b5c04268d6a |
line wrap: on
line diff
--- a/include/gui/widgets/anime_info.h Mon May 13 14:56:37 2024 -0400 +++ b/include/gui/widgets/anime_info.h Mon May 13 15:04:51 2024 -0400 @@ -1,25 +1,25 @@ -#ifndef MINORI_GUI_WIDGETS_ANIME_INFO_H_ -#define MINORI_GUI_WIDGETS_ANIME_INFO_H_ - -#include <QWidget> -#include "gui/widgets/text.h" - -namespace Anime { -class Anime; -} - -class AnimeInfoWidget final : public QWidget { - Q_OBJECT - -public: - AnimeInfoWidget(QWidget* parent = nullptr); - AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr); - void SetAnime(const Anime::Anime& anime); - -private: - TextWidgets::OneLineSection _title; - TextWidgets::LabelledSection _details; - TextWidgets::SelectableSection _synopsis; -}; - -#endif // MINORI_GUI_WIDGETS_ANIME_INFO_H_ +#ifndef MINORI_GUI_WIDGETS_ANIME_INFO_H_ +#define MINORI_GUI_WIDGETS_ANIME_INFO_H_ + +#include <QWidget> +#include "gui/widgets/text.h" + +namespace Anime { +class Anime; +} + +class AnimeInfoWidget final : public QWidget { + Q_OBJECT + +public: + AnimeInfoWidget(QWidget* parent = nullptr); + AnimeInfoWidget(const Anime::Anime& anime, QWidget* parent = nullptr); + void SetAnime(const Anime::Anime& anime); + +private: + TextWidgets::OneLineSection _title; + TextWidgets::LabelledSection _details; + TextWidgets::SelectableSection _synopsis; +}; + +#endif // MINORI_GUI_WIDGETS_ANIME_INFO_H_