Use override

parent a560f796
......@@ -47,7 +47,7 @@ public:
// Refresh the model data
void refresh();
// Display the header
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
private:
// Based on QStandardItem, create a model item
......
......@@ -38,7 +38,7 @@ public:
ChoicePage( QWidget *parent = nullptr);
AppTemplatesModel *templatesModel;
QString m_baseName;
bool isComplete () const;
bool isComplete () const override;
QString templateName() const { return m_baseName; }
Q_SIGNALS:
......
......@@ -45,7 +45,7 @@ private:
bool unpackArchive(const KArchiveDirectory *dir, const QString &dest, const QStringList& skipList = QStringList());
bool extractFileMacros(const QString &entry);
void initializePage();
void initializePage() override;
void displayError(const QString &error);
QString templateName;
......
......@@ -46,7 +46,7 @@ public:
/**
* Default Destructor
*/
virtual ~KAppTemplate();
~KAppTemplate() override;
private slots:
/**
......@@ -84,7 +84,7 @@ private slots:
*/
void saveConfig();
void initializePage();
void initializePage() override;
};
#endif // KAPPTEMPLATE_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment