summaryrefslogtreecommitdiffstats
path: root/src/plugins/directshow/dsserviceplugin.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-09-05 09:12:49 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-09-05 12:15:09 +0000
commita9789cf46b19726e201069e9d4dfee48f0570691 (patch)
treecb3d4d73ce52597e1661b8013f71367f781355ae /src/plugins/directshow/dsserviceplugin.h
parent35ace9e289dcaada5e0828a59ca7dfee78a6342c (diff)
DirectShow: Fix clang-tidy warnings about class definitions
- Use ' = default' for trivial constructors/destructors - replace virtual by override or add override where applicable - Replace trivial constructors by member initialization for simple structs - Add Q_DISABLE_COPY where applicable - Mark move assignment/move constructors as noexcept - Remove unused member variables Change-Id: I579fb69ebcd945b94de32b827d93e5a4dab4df97 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/plugins/directshow/dsserviceplugin.h')
-rw-r--r--src/plugins/directshow/dsserviceplugin.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/directshow/dsserviceplugin.h b/src/plugins/directshow/dsserviceplugin.h
index f57262e37..2e87058c3 100644
--- a/src/plugins/directshow/dsserviceplugin.h
+++ b/src/plugins/directshow/dsserviceplugin.h
@@ -64,14 +64,14 @@ class DSServicePlugin
#endif
public:
- QMediaService* create(QString const& key);
- void release(QMediaService *service);
+ QMediaService* create(QString const& key) override;
+ void release(QMediaService *service) override;
- QMediaServiceProviderHint::Features supportedFeatures(const QByteArray &service) const;
+ QMediaServiceProviderHint::Features supportedFeatures(const QByteArray &service) const override;
- QByteArray defaultDevice(const QByteArray &service) const;
- QList<QByteArray> devices(const QByteArray &service) const;
- QString deviceDescription(const QByteArray &service, const QByteArray &device);
+ QByteArray defaultDevice(const QByteArray &service) const override;
+ QList<QByteArray> devices(const QByteArray &service) const override;
+ QString deviceDescription(const QByteArray &service, const QByteArray &device) override;
};
QT_END_NAMESPACE