diff include/gui/widgets/text.h @ 95:8043152ef9d4

include: set classes as final where appropriate
author Paper <mrpapersonic@gmail.com>
date Wed, 01 Nov 2023 14:39:43 -0400
parents d02fdf1d6708
children b3549da699a6
line wrap: on
line diff
--- a/include/gui/widgets/text.h	Wed Nov 01 14:30:26 2023 -0400
+++ b/include/gui/widgets/text.h	Wed Nov 01 14:39:43 2023 -0400
@@ -43,14 +43,14 @@
 		void SetText(const QString& text);
 };
 
-class Title : public Line {
+class Title final : public Line {
 		Q_OBJECT
 
 	public:
 		Title(const QString& title, QWidget* parent = nullptr);
 };
 
-class Section : public QWidget {
+class Section final : public QWidget {
 		Q_OBJECT
 
 	public:
@@ -63,7 +63,7 @@
 		Paragraph* paragraph;
 };
 
-class LabelledSection : public QWidget {
+class LabelledSection final : public QWidget {
 		Q_OBJECT
 
 	public:
@@ -78,7 +78,7 @@
 		Paragraph* paragraph;
 };
 
-class SelectableSection : public QWidget {
+class SelectableSection final : public QWidget {
 		Q_OBJECT
 
 	public:
@@ -91,7 +91,7 @@
 		Paragraph* paragraph;
 };
 
-class OneLineSection : public QWidget {
+class OneLineSection final : public QWidget {
 		Q_OBJECT
 
 	public: