diff --git a/colorstxtwizard.h b/colorstxtwizard.h index 4d2f86a..b1e0723 100644 --- a/colorstxtwizard.h +++ b/colorstxtwizard.h @@ -53,7 +53,7 @@ class TextureFoldersPage : public QWizardPage public: TextureFoldersPage(QWidget *parent = nullptr); - bool isComplete() const; + bool isComplete() const override; private slots: void add(); void rem(); diff --git a/configdialog.h b/configdialog.h index f2cad34..856de14 100644 --- a/configdialog.h +++ b/configdialog.h @@ -35,7 +35,7 @@ class ConfigDialog : public QDialog public: explicit ConfigDialog(const ConfigSettings &settings, MainWindow *app, QWidget *parent = nullptr); - ~ConfigDialog(); + ~ConfigDialog() override; ConfigSettings getSettings() const; void setSettings(const ConfigSettings &value); diff --git a/geometrywidget.h b/geometrywidget.h index 858be2e..703392d 100644 --- a/geometrywidget.h +++ b/geometrywidget.h @@ -21,7 +21,7 @@ class GeometryWidget : public QWidget public: explicit GeometryWidget(QWidget *parent = nullptr); - ~GeometryWidget(); + ~GeometryWidget() override; bool set(const QString& geomStr, Geometry::Format format = Geometry::FormatUnknown); //{ return set(geomStr.toStdString().c_str(), format); } bool setDefault() { return set(""); } diff --git a/mainwindow.h b/mainwindow.h index 0fda78c..e84f814 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -38,7 +38,7 @@ class MainWindow : public QMainWindow public: explicit MainWindow(Translator *translator, QWidget *parent = nullptr); - ~MainWindow(); + ~MainWindow() override; enum class GeometryGranularity { unspecified = -1, @@ -59,11 +59,11 @@ public: public slots: void startColorsTxtAssistant(); protected: - void closeEvent(QCloseEvent* event); + void closeEvent(QCloseEvent* event) override; // this event is called, when a new translator is loaded or the system language is changed - void changeEvent(QEvent*); + void changeEvent(QEvent*) override; - void showEvent(QShowEvent *event); + void showEvent(QShowEvent *event) override; protected slots: // this slot is called by the language menu actions void slotLanguageChanged(QAction *action); diff --git a/makecolors.h b/makecolors.h index 51fbe49..7d492a1 100644 --- a/makecolors.h +++ b/makecolors.h @@ -20,7 +20,7 @@ class MakeColors : public QThread public: explicit MakeColors(const QString &nodesTxt, const QString &colorsTxt, const QStringList &searchPaths, QObject *parent); explicit MakeColors(); - ~MakeColors(); + ~MakeColors() override; void startProcess(); void setFileNodesTxt(const QString &value); @@ -48,7 +48,7 @@ public slots: void stopProcess(); protected: - void run(); + void run() override; private slots: QColor processImage(const QString &path); bool parseNodesTxt(const QString &nodesTxt);