Commit b6df8957 authored by Laurent Montel's avatar Laurent Montel

Add missing override

parent 106e5190
......@@ -31,7 +31,7 @@ class CountryModel : public QAbstractListModel
Q_OBJECT
public:
explicit CountryModel(QObject *parent = nullptr);
~CountryModel();
~CountryModel() override;
Q_INVOKABLE int isoCodeToIndex(const QString &isoCode) const;
Q_INVOKABLE QString isoCodeFromIndex(int index) const;
......
......@@ -31,7 +31,7 @@ class PkPassManager : public QObject
{
Q_OBJECT
public:
PkPassManager(QObject *parent = nullptr);
explicit PkPassManager(QObject *parent = nullptr);
~PkPassManager();
QVector<QString> passes() const;
......
......@@ -31,7 +31,7 @@ class ReservationManager : public QObject
{
Q_OBJECT
public:
ReservationManager(QObject *parent = nullptr);
explicit ReservationManager(QObject *parent = nullptr);
~ReservationManager();
void setPkPassManager(PkPassManager *mgr);
......
......@@ -28,7 +28,7 @@ class SolidBrightnessBackend : public BrightnessBackend
public:
explicit SolidBrightnessBackend(QObject *parent = nullptr);
virtual ~SolidBrightnessBackend();
~SolidBrightnessBackend() override;
void maxBrightness() override;
......
......@@ -36,7 +36,7 @@ public:
};
explicit TicketTokenModel(QObject *parent = nullptr);
~TicketTokenModel();
~TicketTokenModel() override;
QObject* reservationManager() const;
void setReservationManager(QObject *mgr);
......
......@@ -77,7 +77,7 @@ public:
Q_ENUM(RangeType)
explicit TimelineModel(QObject *parent = nullptr);
~TimelineModel();
~TimelineModel() override;
void setReservationManager(ReservationManager *mgr);
void setWeatherForecastManager(WeatherForecastManager *mgr);
......
......@@ -30,7 +30,7 @@ class TripGroupProxyModel : public QSortFilterProxyModel
Q_PROPERTY(int todayRow READ todayRow NOTIFY todayRowChanged)
public:
explicit TripGroupProxyModel(QObject *parent = nullptr);
~TripGroupProxyModel();
~TripGroupProxyModel() override;
void setSourceModel(QAbstractItemModel *sourceModel) override;
QVariant data(const QModelIndex & index, int role) const override;
......
......@@ -37,7 +37,7 @@ public:
};
explicit WeatherForecastModel(QObject *parent = nullptr);
~WeatherForecastModel();
~WeatherForecastModel() override;
int rowCount(const QModelIndex &parent) const override;
QVariant data(const QModelIndex &index, int role) const override;
......
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