GIT_SILENT: add missing override

This commit is contained in:
Laurent Montel 2021-10-27 06:53:06 +02:00
parent 460eb70a81
commit 6957b6aa39
11 changed files with 14 additions and 14 deletions

View file

@ -26,7 +26,7 @@ public:
enum PairStatus { NotPaired, Paired }; enum PairStatus { NotPaired, Paired };
DeviceLink(const QString& deviceId, LinkProvider* parent); DeviceLink(const QString& deviceId, LinkProvider* parent);
virtual ~DeviceLink() = default; ~DeviceLink() override = default;
virtual QString name() = 0; virtual QString name() = 0;

View file

@ -247,7 +247,7 @@ class KDECONNECTINTERFACES_EXPORT RemoteSystemVolumeDbusInterface
Q_OBJECT Q_OBJECT
public: public:
explicit RemoteSystemVolumeDbusInterface(const QString& deviceId, QObject* parent = nullptr); explicit RemoteSystemVolumeDbusInterface(const QString& deviceId, QObject* parent = nullptr);
~RemoteSystemVolumeDbusInterface() = default; ~RemoteSystemVolumeDbusInterface() override = default;
}; };
class KDECONNECTINTERFACES_EXPORT BigscreenDbusInterface class KDECONNECTINTERFACES_EXPORT BigscreenDbusInterface

View file

@ -38,7 +38,7 @@ public:
{ {
} }
~DataControlDeviceManager() ~DataControlDeviceManager() override
{ {
destroy(); destroy();
} }
@ -53,7 +53,7 @@ public:
{ {
} }
~DataControlOffer() ~DataControlOffer() override
{ {
destroy(); destroy();
} }
@ -170,7 +170,7 @@ class DataControlSource : public QObject, public QtWayland::zwlr_data_control_so
public: public:
DataControlSource(struct ::zwlr_data_control_source_v1 *id, QMimeData *mimeData); DataControlSource(struct ::zwlr_data_control_source_v1 *id, QMimeData *mimeData);
DataControlSource(); DataControlSource();
~DataControlSource() ~DataControlSource() override
{ {
destroy(); destroy();
} }
@ -232,7 +232,7 @@ public:
{ {
} }
~DataControlDevice() ~DataControlDevice() override
{ {
destroy(); destroy();
} }

View file

@ -16,7 +16,7 @@ class MprisRemotePlayer : public QObject {
public: public:
explicit MprisRemotePlayer(QString id, MprisRemotePlugin *plugin); explicit MprisRemotePlayer(QString id, MprisRemotePlugin *plugin);
virtual ~MprisRemotePlayer(); ~MprisRemotePlayer() override;
void parseNetworkPacket(const NetworkPacket& np); void parseNetworkPacket(const NetworkPacket& np);
long position() const; long position() const;

View file

@ -24,7 +24,7 @@ class MprisRemotePlayerMediaPlayer2 : public QDBusAbstractAdaptor {
public: public:
explicit MprisRemotePlayerMediaPlayer2(MprisRemotePlayer *parent, const MprisRemotePlugin *plugin); explicit MprisRemotePlayerMediaPlayer2(MprisRemotePlayer *parent, const MprisRemotePlugin *plugin);
~MprisRemotePlayerMediaPlayer2(); ~MprisRemotePlayerMediaPlayer2() override;
public Q_SLOTS: public Q_SLOTS:
void Raise(); void Raise();

View file

@ -32,7 +32,7 @@ class MprisRemotePlayerMediaPlayer2Player : public QDBusAbstractAdaptor {
public: public:
explicit MprisRemotePlayerMediaPlayer2Player(MprisRemotePlayer *parent, MprisRemotePlugin *plugin); explicit MprisRemotePlayerMediaPlayer2Player(MprisRemotePlayer *parent, MprisRemotePlugin *plugin);
~MprisRemotePlayerMediaPlayer2Player(); ~MprisRemotePlayerMediaPlayer2Player() override;
public Q_SLOTS: public Q_SLOTS:
void Next(); void Next();

View file

@ -38,7 +38,7 @@ class TelephonyPlugin
public: public:
explicit TelephonyPlugin(QObject* parent, const QVariantList& args); explicit TelephonyPlugin(QObject* parent, const QVariantList& args);
~TelephonyPlugin() = default; ~TelephonyPlugin() override = default;
bool receivePacket(const NetworkPacket& np) override; bool receivePacket(const NetworkPacket& np) override;
void connected() override {} void connected() override {}

View file

@ -21,7 +21,7 @@ class ConversationListModel
public: public:
ConversationListModel(QObject* parent = nullptr); ConversationListModel(QObject* parent = nullptr);
~ConversationListModel(); ~ConversationListModel() override;
enum Roles { enum Roles {
/* Roles which apply while working as a single message */ /* Roles which apply while working as a single message */

View file

@ -27,7 +27,7 @@ class ConversationModel
public: public:
ConversationModel(QObject* parent = nullptr); ConversationModel(QObject* parent = nullptr);
~ConversationModel(); ~ConversationModel() override;
enum Roles { enum Roles {
FromMeRole = Qt::UserRole, FromMeRole = Qt::UserRole,

View file

@ -43,7 +43,7 @@ public:
Q_INVOKABLE bool doesAddressExists(const QString& address); Q_INVOKABLE bool doesAddressExists(const QString& address);
ConversationsSortFilterProxyModel(); ConversationsSortFilterProxyModel();
~ConversationsSortFilterProxyModel(); ~ConversationsSortFilterProxyModel() override;
protected: protected:
bool lessThan(const QModelIndex& leftIndex, const QModelIndex& rightIndex) const override; bool lessThan(const QModelIndex& leftIndex, const QModelIndex& rightIndex) const override;

View file

@ -25,7 +25,7 @@ class SmsHelper : public QObject
Q_OBJECT Q_OBJECT
public: public:
SmsHelper() = default; SmsHelper() = default;
~SmsHelper() = default; ~SmsHelper() override = default;
static QObject* singletonProvider(QQmlEngine *engine, QJSEngine *scriptEngine); static QObject* singletonProvider(QQmlEngine *engine, QJSEngine *scriptEngine);