[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdev-embedded] /: Use override
From: Friedrich W. H. Kossebau <null () kde ! org>
Date: 2018-07-31 1:32:36
Message-ID: E1fkJWe-0005JK-UK () code ! kde ! org
[Download RAW message or body]
Git commit e88665e76f7fadb67b4e9bcef55f2bda613fe7f5 by Friedrich W. H. Kossebau.
Committed on 31/07/2018 at 01:31.
Pushed by kossebau into branch 'master'.
Use override
M +3 -3 arduinowindowmodel.h
M +3 -3 firsttimewizard.h
M +1 -1 launcher/embeddedlauncher.h
https://commits.kde.org/kdev-embedded/e88665e76f7fadb67b4e9bcef55f2bda613fe7f5
diff --git a/arduinowindowmodel.h b/arduinowindowmodel.h
index 08dcc51..44f2c18 100644
--- a/arduinowindowmodel.h
+++ b/arduinowindowmodel.h
@@ -21,10 +21,10 @@ public:
enum {NAME, ID, COLUMNS};
void populate(const QVector<ArduinoWindowModelStruct> &tdb);
- QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
+ QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
ArduinoWindowModelStruct getData(int index);
- int columnCount(const QModelIndex &parent) const;
- int rowCount(const QModelIndex &parent) const;
+ int columnCount(const QModelIndex &parent) const override;
+ int rowCount(const QModelIndex &parent) const override;
};
diff --git a/firsttimewizard.h b/firsttimewizard.h
index df963ff..abc7acf 100644
--- a/firsttimewizard.h
+++ b/firsttimewizard.h
@@ -46,7 +46,7 @@ class FirstTimeWizard : public QWizard, Ui::FirstTimeWizard
public:
explicit FirstTimeWizard(QWidget *parent = nullptr);
- ~FirstTimeWizard();
+ ~FirstTimeWizard() override;
QNetworkAccessManager *m_mDownloadManager;
QNetworkReply *m_reply;
@@ -79,8 +79,8 @@ public:
*/
void fetchSketchbookPath();
QString downloadAndInstallArduino();
- bool validateCurrentPage();
- int nextId() const;
+ bool validateCurrentPage() override;
+ int nextId() const override;
bool finish();
void onDownloadProgress(qint64 received, qint64 total);
diff --git a/launcher/embeddedlauncher.h b/launcher/embeddedlauncher.h
index 5ae9778..e0f5245 100644
--- a/launcher/embeddedlauncher.h
+++ b/launcher/embeddedlauncher.h
@@ -36,7 +36,7 @@ class EmbeddedLauncherConfigPage : public KDevelop::LaunchConfigurationPage, Ui:
Q_OBJECT
public:
explicit EmbeddedLauncherConfigPage(QWidget* parent);
- virtual ~EmbeddedLauncherConfigPage();
+ ~EmbeddedLauncherConfigPage() override;
void loadFromConfiguration(const KConfigGroup& cfg, KDevelop::IProject* project = nullptr) override;
void saveToConfiguration(KConfigGroup cfg, KDevelop::IProject* project = nullptr) const override;
QString title() const override;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic