Commit 30eb85f3 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

clang-tidy -fix: modernize-use-override

cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
run-clang-tidy -header-filter='.*' -checks='-*,modernize-use-override' -fix
parent b29ce73f
......@@ -34,7 +34,7 @@ class RenderJob : public QObject
public:
RenderJob(const QString &render, const QString &scenelist, const QString &target, int pid = -1, int in = -1, int out = -1, QObject *parent = nullptr);
~RenderJob();
~RenderJob() override;
public slots:
void start();
......
......@@ -53,7 +53,7 @@ class MixerWidget : public QWidget
public:
MixerWidget(int tid, std::shared_ptr<Mlt::Tractor> service, const QString &trackTag, const QString &trackName, MixerManager *parent = nullptr);
MixerWidget(int tid, Mlt::Tractor *service, const QString &trackTag, const QString &trackName, MixerManager *parent = nullptr);
virtual ~MixerWidget();
~MixerWidget() override;
void buildUI(Mlt::Tractor *service, const QString &trackName);
/** @brief discard stored audio values and reset vu-meter to 0 if requested */
void reset();
......
......@@ -36,7 +36,7 @@ class ShiftEnterFilter : public QObject
public:
ShiftEnterFilter(QObject *parent = 0);
protected:
virtual bool eventFilter(QObject *obj, QEvent *event) override;
bool eventFilter(QObject *obj, QEvent *event) override;
signals:
void triggerUpdate();
};
......
......@@ -37,7 +37,7 @@ class SpeedDialog : public QDialog
public:
explicit SpeedDialog(QWidget *parent, double speed, int duration, double minSpeed, double maxSpeed, bool reversed, bool pitch_compensate);
~SpeedDialog();
~SpeedDialog() override;
double getValue() const;
bool getPitchCompensate() const;
......
......@@ -49,7 +49,7 @@ class TimelineTabs : public QTabWidget
public:
/** @brief Construct the tabs as well as the widget for the main timeline */
TimelineTabs(QWidget *parent);
virtual ~TimelineTabs();
~TimelineTabs() override;
/** @brief Returns a pointer to the main timeline */
TimelineWidget *getMainTimeline() const;
......
......@@ -36,8 +36,8 @@ public:
*/
explicit PatternsModel(QObject *parent = nullptr);
virtual QVariant data(const QModelIndex& index, int role) const override;
virtual int rowCount(const QModelIndex& parent) const override;
QVariant data(const QModelIndex& index, int role) const override;
int rowCount(const QModelIndex& parent) const override;
/**
* @brief Change size of the image to be displayed in the list
......
......@@ -32,7 +32,7 @@ class MltPreview : public ThumbCreator
{
public:
MltPreview();
virtual ~MltPreview();
~MltPreview() override;
bool create(const QString &path, int width, int height, QImage &img) override;
Flags flags() 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