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 };
DeviceLink(const QString& deviceId, LinkProvider* parent);
virtual ~DeviceLink() = default;
~DeviceLink() override = default;
virtual QString name() = 0;

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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