diff --git a/renderer/renderjob.h b/renderer/renderjob.h --- a/renderer/renderjob.h +++ b/renderer/renderjob.h @@ -34,7 +34,7 @@ public: RenderJob(bool erase, bool usekuiserver, int pid, const QString &renderer, const QString &profile, const QString &rendermodule, const QString &player, const QString &scenelist, const QString &dest, const QStringList &preargs, const QStringList &args, int in = -1, int out = -1); - ~RenderJob(); + ~RenderJob() override; void setLocale(const QString &locale); public slots: diff --git a/src/bin/abstractprojectitem.h b/src/bin/abstractprojectitem.h --- a/src/bin/abstractprojectitem.h +++ b/src/bin/abstractprojectitem.h @@ -68,7 +68,7 @@ * We try to read the attributes "name" and "description" */ AbstractProjectItem(PROJECTITEMTYPE type, const QDomElement &description, AbstractProjectItem *parent = nullptr); - virtual ~AbstractProjectItem(); + ~AbstractProjectItem() override; bool operator==(const AbstractProjectItem *projectItem) const; diff --git a/src/bin/bin.h b/src/bin/bin.h --- a/src/bin/bin.h +++ b/src/bin/bin.h @@ -176,7 +176,7 @@ public: explicit Bin(QWidget *parent = nullptr); - ~Bin(); + ~Bin() override; bool isLoading; diff --git a/src/bin/generators/generators.h b/src/bin/generators/generators.h --- a/src/bin/generators/generators.h +++ b/src/bin/generators/generators.h @@ -49,7 +49,7 @@ public: explicit Generators(Monitor *monitor, const QString &path, QWidget *parent = nullptr); - virtual ~Generators(); + ~Generators() override; static void getGenerators(const QStringList &producers, QMenu *menu); static QPair parseGenerator(const QString &path, const QStringList &producers); diff --git a/src/bin/projectclip.h b/src/bin/projectclip.h --- a/src/bin/projectclip.h +++ b/src/bin/projectclip.h @@ -64,7 +64,7 @@ * @param description element describing the clip; the "id" attribute and "resource" property are used */ ProjectClip(const QDomElement &description, const QIcon &thumb, ProjectFolder *parent); - virtual ~ProjectClip(); + ~ProjectClip() override; void reloadProducer(bool refreshOnly = false); diff --git a/src/bin/projectfolder.h b/src/bin/projectfolder.h --- a/src/bin/projectfolder.h +++ b/src/bin/projectfolder.h @@ -48,7 +48,7 @@ /** @brief Creates an empty root folder. */ explicit ProjectFolder(Bin *bin); - ~ProjectFolder(); + ~ProjectFolder() override; /** * @brief Returns the clip if it is a child (also indirect). diff --git a/src/bin/projectfolderup.h b/src/bin/projectfolderup.h --- a/src/bin/projectfolderup.h +++ b/src/bin/projectfolderup.h @@ -44,7 +44,7 @@ */ explicit ProjectFolderUp(AbstractProjectItem *parent); - ~ProjectFolderUp(); + ~ProjectFolderUp() override; /** * @brief Returns the clip if it is a child (also indirect). diff --git a/src/bin/projectitemmodel.h b/src/bin/projectitemmodel.h --- a/src/bin/projectitemmodel.h +++ b/src/bin/projectitemmodel.h @@ -40,7 +40,7 @@ public: explicit ProjectItemModel(Bin *bin); - ~ProjectItemModel(); + ~ProjectItemModel() override; /** @brief Returns item data depending on role requested */ QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE; diff --git a/src/bin/projectsubclip.h b/src/bin/projectsubclip.h --- a/src/bin/projectsubclip.h +++ b/src/bin/projectsubclip.h @@ -49,7 +49,7 @@ * @brief Constructor; used when loading a project and the producer is already available. */ ProjectSubClip(ProjectClip *parent, int in, int out, const QString &timecode, const QString &name = QString()); - virtual ~ProjectSubClip(); + ~ProjectSubClip() override; ProjectClip *clip(const QString &id) Q_DECL_OVERRIDE; ProjectFolder *folder(const QString &id) Q_DECL_OVERRIDE; diff --git a/src/capture/managecapturesdialog.h b/src/capture/managecapturesdialog.h --- a/src/capture/managecapturesdialog.h +++ b/src/capture/managecapturesdialog.h @@ -32,7 +32,7 @@ public: explicit ManageCapturesDialog(const QList &files, QWidget *parent = nullptr); - ~ManageCapturesDialog(); + ~ManageCapturesDialog() override; QList importFiles() const; private slots: diff --git a/src/capture/mltdevicecapture.h b/src/capture/mltdevicecapture.h --- a/src/capture/mltdevicecapture.h +++ b/src/capture/mltdevicecapture.h @@ -58,7 +58,7 @@ explicit MltDeviceCapture(QString profile, /*VideoSurface *surface,*/ QWidget *parent = nullptr); /** @brief Destroy the MLT Renderer. */ - ~MltDeviceCapture(); + ~MltDeviceCapture() override; int doCapture; diff --git a/src/core.h b/src/core.h --- a/src/core.h +++ b/src/core.h @@ -51,7 +51,7 @@ Core(Core&&) = delete; Core& operator=(Core&&) = delete; - virtual ~Core(); + ~Core() override; /** * @brief Constructs the application diff --git a/src/dialogs/encodingprofilesdialog.h b/src/dialogs/encodingprofilesdialog.h --- a/src/dialogs/encodingprofilesdialog.h +++ b/src/dialogs/encodingprofilesdialog.h @@ -31,7 +31,7 @@ public: explicit EncodingProfilesDialog(int profileType, QWidget *parent = nullptr); - ~EncodingProfilesDialog(); + ~EncodingProfilesDialog() override; private slots: void slotLoadProfiles(); diff --git a/src/dialogs/kdenlivesettingsdialog.h b/src/dialogs/kdenlivesettingsdialog.h --- a/src/dialogs/kdenlivesettingsdialog.h +++ b/src/dialogs/kdenlivesettingsdialog.h @@ -41,7 +41,7 @@ public: KdenliveSettingsDialog(const QMap &mappable_actions, bool gpuAllowed, QWidget *parent = nullptr); - ~KdenliveSettingsDialog(); + ~KdenliveSettingsDialog() override; void showPage(int page, int option); void checkProfile(); diff --git a/src/dialogs/renderwidget.h b/src/dialogs/renderwidget.h --- a/src/dialogs/renderwidget.h +++ b/src/dialogs/renderwidget.h @@ -112,7 +112,7 @@ public: explicit RenderWidget(const QString &projectfolder, bool enableProxy, const QString &profile, QWidget *parent = nullptr); - virtual ~RenderWidget(); + ~RenderWidget() override; void setGuides(const QMap &guidesData, double duration); void focusFirstVisibleItem(const QString &profile = QString()); void setProfile(const QString &profile); diff --git a/src/doc/documentchecker.h b/src/doc/documentchecker.h --- a/src/doc/documentchecker.h +++ b/src/doc/documentchecker.h @@ -33,7 +33,7 @@ public: explicit DocumentChecker(const QUrl &url, const QDomDocument &doc); - ~DocumentChecker(); + ~DocumentChecker() override; /** * @brief checks for problems with the clips in the project * Checks for missing proxies, wrong duration clips, missing fonts, missing images, missing source clips diff --git a/src/doc/kdenlivedoc.h b/src/doc/kdenlivedoc.h --- a/src/doc/kdenlivedoc.h +++ b/src/doc/kdenlivedoc.h @@ -77,7 +77,7 @@ public: KdenliveDoc(const QUrl &url, const QString &projectFolder, QUndoGroup *undoGroup, const QString &profileName, const QMap &properties, const QMap &metadata, const QPoint &tracks, Render *render, NotesPlugin *notes, bool *openBackup, MainWindow *parent = nullptr); - ~KdenliveDoc(); + ~KdenliveDoc() override; QDomNodeList producersList(); double fps() const; int width() const; diff --git a/src/dvdwizard/dvdwizard.h b/src/dvdwizard/dvdwizard.h --- a/src/dvdwizard/dvdwizard.h +++ b/src/dvdwizard/dvdwizard.h @@ -38,7 +38,7 @@ Q_OBJECT public: explicit DvdWizard(MonitorManager *manager, const QString &url = QString(), QWidget *parent = nullptr); - virtual ~DvdWizard(); + ~DvdWizard() override; void processSpumux(); private: diff --git a/src/dvdwizard/dvdwizardchapters.h b/src/dvdwizard/dvdwizardchapters.h --- a/src/dvdwizard/dvdwizardchapters.h +++ b/src/dvdwizard/dvdwizardchapters.h @@ -33,7 +33,7 @@ public: explicit DvdWizardChapters(MonitorManager *manager, DVDFORMAT format, QWidget *parent = nullptr); - virtual ~DvdWizardChapters(); + ~DvdWizardChapters() override; void changeProfile(DVDFORMAT format); void setPal(bool isPal); void setVobFiles(DVDFORMAT format, const QStringList &movies, const QStringList &durations, const QStringList &chapters); diff --git a/src/dvdwizard/dvdwizardmenu.h b/src/dvdwizard/dvdwizardmenu.h --- a/src/dvdwizard/dvdwizardmenu.h +++ b/src/dvdwizard/dvdwizardmenu.h @@ -88,7 +88,7 @@ public: explicit DvdWizardMenu(DVDFORMAT format, QWidget *parent = nullptr); - virtual ~DvdWizardMenu(); + ~DvdWizardMenu() override; bool createMenu() const; void createBackgroundImage(const QString &img1, bool letterbox); void createButtonImages(const QString &selected_image, const QString &highlighted_image, bool letterbox); diff --git a/src/dvdwizard/dvdwizardvob.h b/src/dvdwizard/dvdwizardvob.h --- a/src/dvdwizard/dvdwizardvob.h +++ b/src/dvdwizard/dvdwizardvob.h @@ -107,7 +107,7 @@ public: explicit DvdWizardVob(QWidget *parent = nullptr); - virtual ~DvdWizardVob(); + ~DvdWizardVob() override; QStringList selectedUrls() const; void setUrl(const QString &url); DVDFORMAT dvdFormat() const; diff --git a/src/effectslist/effectslistwidget.h b/src/effectslist/effectslistwidget.h --- a/src/effectslist/effectslistwidget.h +++ b/src/effectslist/effectslistwidget.h @@ -36,7 +36,7 @@ static const int IdRole = TypeRole + 1; explicit EffectsListWidget(QWidget *parent = nullptr); - virtual ~EffectsListWidget(); + ~EffectsListWidget() override; const QDomElement currentEffect() const; QString currentInfo() const; static const QDomElement itemEffect(int type, const QStringList &effectInfo); diff --git a/src/effectstack/collapsibleeffect.h b/src/effectstack/collapsibleeffect.h --- a/src/effectstack/collapsibleeffect.h +++ b/src/effectstack/collapsibleeffect.h @@ -43,7 +43,7 @@ public: explicit CollapsibleEffect(const QDomElement &effect, const QDomElement &original_effect, const ItemInfo &info, EffectMetaInfo *metaInfo, bool canMoveUp, bool lastEffect, QWidget *parent = nullptr); - ~CollapsibleEffect(); + ~CollapsibleEffect() override; QLabel *title; void setupWidget(const ItemInfo &info, EffectMetaInfo *metaInfo); diff --git a/src/effectstack/collapsiblegroup.h b/src/effectstack/collapsiblegroup.h --- a/src/effectstack/collapsiblegroup.h +++ b/src/effectstack/collapsiblegroup.h @@ -51,7 +51,7 @@ public: CollapsibleGroup(int ix, bool firstGroup, bool lastGroup, const EffectInfo &info, QWidget *parent = nullptr); - ~CollapsibleGroup(); + ~CollapsibleGroup() override; void updateTimecodeFormat(); void setActive(bool activate) Q_DECL_OVERRIDE; int groupIndex() const; diff --git a/src/effectstack/dragvalue.h b/src/effectstack/dragvalue.h --- a/src/effectstack/dragvalue.h +++ b/src/effectstack/dragvalue.h @@ -84,7 +84,7 @@ * @param showSlider If disabled, user can still drag on the label but no progress bar is shown */ explicit DragValue(const QString &label, double defaultValue, int decimals, double min = 0, double max = 100, int id = -1, const QString &suffix = QString(), bool showSlider = true, QWidget *parent = nullptr); - virtual ~DragValue(); + ~DragValue() override; /** @brief Returns the precision = number of decimals */ int precision() const; diff --git a/src/effectstack/effectstackedit.h b/src/effectstack/effectstackedit.h --- a/src/effectstack/effectstackedit.h +++ b/src/effectstack/effectstackedit.h @@ -35,7 +35,7 @@ Q_OBJECT public: explicit EffectStackEdit(Monitor *monitor, QWidget *parent = nullptr); - ~EffectStackEdit(); + ~EffectStackEdit() override; static QMap iconCache; /** @brief Sets attribute @param name to @param value. * diff --git a/src/effectstack/effectstackview2.h b/src/effectstack/effectstackview2.h --- a/src/effectstack/effectstackview2.h +++ b/src/effectstack/effectstackview2.h @@ -43,7 +43,7 @@ public: explicit EffectStackView2(Monitor *projectMonitor, QWidget *parent = nullptr); - virtual ~EffectStackView2(); + ~EffectStackView2() override; /** @brief Raises @param dock if a clip is loaded. */ void raiseWindow(QWidget *dock); diff --git a/src/effectstack/parametercontainer.h b/src/effectstack/parametercontainer.h --- a/src/effectstack/parametercontainer.h +++ b/src/effectstack/parametercontainer.h @@ -79,7 +79,7 @@ public: explicit ParameterContainer(const QDomElement &effect, const ItemInfo &info, EffectMetaInfo *metaInfo, QWidget *parent = nullptr); - ~ParameterContainer(); + ~ParameterContainer() override; void updateTimecodeFormat(); void updateParameter(const QString &key, const QString &value); /** @brief Returns true of this effect requires an on monitor adjustable effect scene. */ diff --git a/src/effectstack/widgets/abstractparamwidget.h b/src/effectstack/widgets/abstractparamwidget.h --- a/src/effectstack/widgets/abstractparamwidget.h +++ b/src/effectstack/widgets/abstractparamwidget.h @@ -37,7 +37,7 @@ public: AbstractParamWidget() = delete; AbstractParamWidget(QWidget* w):QWidget(w){} - virtual ~AbstractParamWidget(){}; + ~AbstractParamWidget() override{}; /** @brief Factory method to construct a parameter widget given its xml representation @param content XML representation of the widget diff --git a/src/effectstack/widgets/animationwidget.h b/src/effectstack/widgets/animationwidget.h --- a/src/effectstack/widgets/animationwidget.h +++ b/src/effectstack/widgets/animationwidget.h @@ -44,7 +44,7 @@ Q_OBJECT public: explicit AnimationWidget(EffectMetaInfo *info, int clipPos, int min, int max, int effectIn, const QString &effectId, const QDomElement &xml, QWidget *parent = nullptr); - virtual ~AnimationWidget(); + ~AnimationWidget() override; void updateTimecodeFormat(); void addParameter(const QDomElement &e); const QMap getAnimation(); diff --git a/src/effectstack/widgets/boolparamwidget.h b/src/effectstack/widgets/boolparamwidget.h --- a/src/effectstack/widgets/boolparamwidget.h +++ b/src/effectstack/widgets/boolparamwidget.h @@ -50,7 +50,7 @@ public slots: /** @brief Toggle the comments on or off */ - void slotShowComment(bool); + void slotShowComment(bool) override; }; diff --git a/src/effectstack/widgets/colorpickerwidget.h b/src/effectstack/widgets/colorpickerwidget.h --- a/src/effectstack/widgets/colorpickerwidget.h +++ b/src/effectstack/widgets/colorpickerwidget.h @@ -57,7 +57,7 @@ /** @brief Sets up the widget. */ explicit ColorPickerWidget(QWidget *parent = nullptr); /** @brief Makes sure the event filter is removed. */ - virtual ~ColorPickerWidget(); + ~ColorPickerWidget() override; protected: void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE; diff --git a/src/effectstack/widgets/cornerswidget.h b/src/effectstack/widgets/cornerswidget.h --- a/src/effectstack/widgets/cornerswidget.h +++ b/src/effectstack/widgets/cornerswidget.h @@ -36,7 +36,7 @@ * @param factor Factor by which the parameters differ from the range 0-1 * @param parent (optional) Parent widget */ explicit CornersWidget(Monitor *monitor, const QDomElement &e, int minFrame, int maxFrame, int pos, const Timecode &tc, int activeKeyframe, QWidget *parent = nullptr); - virtual ~CornersWidget(); + ~CornersWidget() override; void addParameter(const QDomElement &e, int activeKeyframe = -1) Q_DECL_OVERRIDE; diff --git a/src/effectstack/widgets/curves/abstractcurvewidget.h b/src/effectstack/widgets/curves/abstractcurvewidget.h --- a/src/effectstack/widgets/curves/abstractcurvewidget.h +++ b/src/effectstack/widgets/curves/abstractcurvewidget.h @@ -74,7 +74,7 @@ { public: typedef typename Curve_t::Point_t Point_t; - virtual ~AbstractCurveWidget(){}; + ~AbstractCurveWidget() override{}; /** @param parent Optional parent of the widget */ @@ -106,7 +106,7 @@ /** @brief Resets the curve to an empty one */ - void reset(); + void reset() override; /** @brief Returns a string corresponding to the curve */ @@ -125,9 +125,9 @@ public: /** @brief Delete current spline point if it is not a extremal point (first or last) */ - void slotDeleteCurrentPoint(); - void slotZoomIn(); - void slotZoomOut(); + void slotDeleteCurrentPoint() override; + void slotZoomIn() override; + void slotZoomOut() override; protected: void paintBackground(QPainter * p); int heightForWidth(int w) const Q_DECL_OVERRIDE; diff --git a/src/effectstack/widgets/curves/bezier/beziersplineeditor.h b/src/effectstack/widgets/curves/bezier/beziersplineeditor.h --- a/src/effectstack/widgets/curves/bezier/beziersplineeditor.h +++ b/src/effectstack/widgets/curves/bezier/beziersplineeditor.h @@ -33,7 +33,7 @@ public: typedef BPoint Point_t; explicit BezierSplineEditor(QWidget *parent = nullptr); - ~BezierSplineEditor(); + ~BezierSplineEditor() override; /** @brief Sets the property showAllHandles to @param show. diff --git a/src/effectstack/widgets/curves/cubic/kis_curve_widget.h b/src/effectstack/widgets/curves/cubic/kis_curve_widget.h --- a/src/effectstack/widgets/curves/cubic/kis_curve_widget.h +++ b/src/effectstack/widgets/curves/cubic/kis_curve_widget.h @@ -60,7 +60,7 @@ */ explicit KisCurveWidget(QWidget *parent = nullptr); - virtual ~KisCurveWidget(); + ~KisCurveWidget() override; diff --git a/src/effectstack/widgets/curves/curveparamwidget.h b/src/effectstack/widgets/curves/curveparamwidget.h --- a/src/effectstack/widgets/curves/curveparamwidget.h +++ b/src/effectstack/widgets/curves/curveparamwidget.h @@ -39,7 +39,7 @@ class CurveParamWidget : public AbstractParamWidget { public: - virtual ~CurveParamWidget(){}; + ~CurveParamWidget() override{}; CurveParamWidget(const QString &spline, QWidget *parent); enum class CurveModes { Red = 0, @@ -88,7 +88,7 @@ public: /** @brief Toggle the comments on or off */ - void slotShowComment(bool); + void slotShowComment(bool) override; private: Ui::BezierSpline_UI m_ui; DragValue *m_pX; diff --git a/src/effectstack/widgets/doubleparameterwidget.h b/src/effectstack/widgets/doubleparameterwidget.h --- a/src/effectstack/widgets/doubleparameterwidget.h +++ b/src/effectstack/widgets/doubleparameterwidget.h @@ -53,7 +53,7 @@ const QString &suffix = QString(), int decimals = 0, bool showRadiobutton = false, QWidget *parent = nullptr); - ~DoubleParameterWidget(); + ~DoubleParameterWidget() override; /** @brief The factor by which real param value is multiplicated to give the slider value. */ double factor; diff --git a/src/effectstack/widgets/draggablelabel.h b/src/effectstack/widgets/draggablelabel.h --- a/src/effectstack/widgets/draggablelabel.h +++ b/src/effectstack/widgets/draggablelabel.h @@ -33,9 +33,9 @@ public: explicit DraggableLabel(const QString &text, QWidget *parent = nullptr); protected: - void mousePressEvent(QMouseEvent *ev); - void mouseReleaseEvent(QMouseEvent *ev); - void mouseMoveEvent(QMouseEvent *ev); + void mousePressEvent(QMouseEvent *ev) override; + void mouseReleaseEvent(QMouseEvent *ev) override; + void mouseMoveEvent(QMouseEvent *ev) override; signals: void startDrag(const QString &); private: diff --git a/src/effectstack/widgets/geometrywidget.h b/src/effectstack/widgets/geometrywidget.h --- a/src/effectstack/widgets/geometrywidget.h +++ b/src/effectstack/widgets/geometrywidget.h @@ -45,7 +45,7 @@ * @param clipPos Position of the clip in timeline * @param parent (optional) Parent widget */ explicit GeometryWidget(EffectMetaInfo *info, int clipPos, bool showRotation, bool useOffset, QWidget *parent = nullptr); - virtual ~GeometryWidget(); + ~GeometryWidget() override; /** @brief Gets the geometry as a serialized string. */ QString getValue() const; QString getExtraValue(const QString &name) const; diff --git a/src/effectstack/widgets/keyframeedit.h b/src/effectstack/widgets/keyframeedit.h --- a/src/effectstack/widgets/keyframeedit.h +++ b/src/effectstack/widgets/keyframeedit.h @@ -87,7 +87,7 @@ Q_OBJECT public: explicit KeyframeEdit(const QDomElement &e, int minFrame, int maxFrame, const Timecode &tc, int activeKeyframe, QWidget *parent = nullptr); - virtual ~KeyframeEdit(); + ~KeyframeEdit() override; virtual void addParameter(const QDomElement &e, int activeKeyframe = -1); const QString getValue(const QString &name); /** @brief Updates the timecode display according to settings (frame number or hh:mm:ss:ff) */ diff --git a/src/effectstack/widgets/keyframeimport.h b/src/effectstack/widgets/keyframeimport.h --- a/src/effectstack/widgets/keyframeimport.h +++ b/src/effectstack/widgets/keyframeimport.h @@ -38,7 +38,7 @@ Q_OBJECT public: explicit KeyframeImport(const ItemInfo &srcInfo, const ItemInfo &dstInfo, const QMap &data, const Timecode &tc, const QDomElement &xml, const ProfileInfo &profile, QWidget *parent = nullptr); - virtual ~KeyframeImport(); + ~KeyframeImport() override; QString selectedData() const; QString selectedTarget() const; diff --git a/src/effectstack/widgets/listparamwidget.h b/src/effectstack/widgets/listparamwidget.h --- a/src/effectstack/widgets/listparamwidget.h +++ b/src/effectstack/widgets/listparamwidget.h @@ -76,7 +76,7 @@ public slots: /** @brief Toggle the comments on or off */ - void slotShowComment(bool); + void slotShowComment(bool) override; }; diff --git a/src/effectstack/widgets/positionwidget.h b/src/effectstack/widgets/positionwidget.h --- a/src/effectstack/widgets/positionwidget.h +++ b/src/effectstack/widgets/positionwidget.h @@ -42,7 +42,7 @@ explicit PositionWidget(const QString &name, int pos, int min, int max, const Timecode &tc, const QString &comment = QString(), QWidget *parent = nullptr); - ~PositionWidget(); + ~PositionWidget() override; /** @brief get current position */ int getPosition() const; diff --git a/src/effectstack/widgets/selectivecolor.h b/src/effectstack/widgets/selectivecolor.h --- a/src/effectstack/widgets/selectivecolor.h +++ b/src/effectstack/widgets/selectivecolor.h @@ -43,7 +43,7 @@ * @param color (optional) initial color * @param alphaEnabled (optional) Should transparent colors be enabled */ explicit SelectiveColor(const QDomElement &effect, QWidget *parent = nullptr); - ~SelectiveColor(); + ~SelectiveColor() override; void addParam(QDomElement &effect, QString name); void updateEffect(QDomElement &effect); diff --git a/src/jogshuttle/jogaction.h b/src/jogshuttle/jogaction.h --- a/src/jogshuttle/jogaction.h +++ b/src/jogshuttle/jogaction.h @@ -28,7 +28,7 @@ { Q_OBJECT public: explicit JogShuttleAction(const JogShuttle *jogShuttle, const QStringList &actionMap, QObject *parent = nullptr); - ~JogShuttleAction(); + ~JogShuttleAction() override; private: const JogShuttle *m_jogShuttle; diff --git a/src/jogshuttle/jogshuttle.h b/src/jogshuttle/jogshuttle.h --- a/src/jogshuttle/jogshuttle.h +++ b/src/jogshuttle/jogshuttle.h @@ -55,7 +55,7 @@ public: ShuttleThread(const QString &device, QObject *parent); - ~ShuttleThread(); + ~ShuttleThread() override; void run() Q_DECL_OVERRIDE; QString device(); void stop(); @@ -83,7 +83,7 @@ Q_OBJECT public: explicit JogShuttle(const QString &device, QObject *parent = nullptr); - ~JogShuttle(); + ~JogShuttle() override; void stopDevice(); void initDevice(const QString &device); static QString canonicalDevice(const QString &device); diff --git a/src/lib/audio/audioCorrelation.h b/src/lib/audio/audioCorrelation.h --- a/src/lib/audio/audioCorrelation.h +++ b/src/lib/audio/audioCorrelation.h @@ -29,7 +29,7 @@ public: /// AudioCorrelation will take ownership of mainTrackEnvelope explicit AudioCorrelation(AudioEnvelope *mainTrackEnvelope); - ~AudioCorrelation(); + ~AudioCorrelation() override; /** This object will take ownership of the passed envelope. diff --git a/src/lib/audio/audioEnvelope.h b/src/lib/audio/audioEnvelope.h --- a/src/lib/audio/audioEnvelope.h +++ b/src/lib/audio/audioEnvelope.h @@ -32,7 +32,7 @@ public: explicit AudioEnvelope(const QString &url, Mlt::Producer *producer, int offset = 0, int length = 0, int track = 0, int startPos = 0); - virtual ~AudioEnvelope(); + ~AudioEnvelope() override; /// Returns the envelope, calculates it if necessary. qint64 const *envelope(); diff --git a/src/mainwindow.h b/src/mainwindow.h --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -74,7 +74,7 @@ * set, latest project will be opened. If no file is open after trying this, * a default new file will be created. */ void init(const QString &MltPath, const QUrl &Url, const QString &clipsToLoad); - virtual ~MainWindow(); + ~MainWindow() override; static EffectsList videoEffects; static EffectsList audioEffects; diff --git a/src/mltcontroller/bincontroller.h b/src/mltcontroller/bincontroller.h --- a/src/mltcontroller/bincontroller.h +++ b/src/mltcontroller/bincontroller.h @@ -49,7 +49,7 @@ public: explicit BinController(const QString &profileName = QString()); - virtual ~BinController(); + ~BinController() override; /** @brief Returns the MLT profile used everywhere in the project. */ Mlt::Profile *profile(); diff --git a/src/mltcontroller/clipcontroller.h b/src/mltcontroller/clipcontroller.h --- a/src/mltcontroller/clipcontroller.h +++ b/src/mltcontroller/clipcontroller.h @@ -58,7 +58,7 @@ * @param bincontroller reference to the bincontroller */ explicit ClipController(BinController *bincontroller); - virtual ~ClipController(); + ~ClipController() override; /** @brief Returns true if the master producer is valid */ bool isValid(); diff --git a/src/mltcontroller/clippropertiescontroller.h b/src/mltcontroller/clippropertiescontroller.h --- a/src/mltcontroller/clippropertiescontroller.h +++ b/src/mltcontroller/clippropertiescontroller.h @@ -58,7 +58,7 @@ * @param parent The widget where our infos will be displayed */ explicit ClipPropertiesController(const Timecode &tc, ClipController *controller, QWidget *parent); - virtual ~ClipPropertiesController(); + ~ClipPropertiesController() override; public slots: void slotReloadProperties(); diff --git a/src/mltcontroller/producerqueue.h b/src/mltcontroller/producerqueue.h --- a/src/mltcontroller/producerqueue.h +++ b/src/mltcontroller/producerqueue.h @@ -48,7 +48,7 @@ public: explicit ProducerQueue(BinController *controller); - ~ProducerQueue(); + ~ProducerQueue() override; /** @brief Force processing of clip with selected id. */ void forceProcessing(const QString &id); diff --git a/src/monitor/abstractmonitor.h b/src/monitor/abstractmonitor.h --- a/src/monitor/abstractmonitor.h +++ b/src/monitor/abstractmonitor.h @@ -47,7 +47,7 @@ } /** @brief Destroy the MLT Renderer. */ - virtual ~AbstractRender() {} + ~AbstractRender() override {} /** @brief This property is used to decide if the renderer should convert it's frames to QImage for use in other Kdenlive widgets. */ bool sendFrameForAnalysis; @@ -85,7 +85,7 @@ { return m_id; } - virtual ~AbstractMonitor(); + ~AbstractMonitor() override; virtual AbstractRender *abstractRender() = 0; bool isActive() const; virtual void mute(bool mute, bool updateIconOnly = false) = 0; diff --git a/src/monitor/glwidget.h b/src/monitor/glwidget.h --- a/src/monitor/glwidget.h +++ b/src/monitor/glwidget.h @@ -56,7 +56,7 @@ public: GLWidget(int id, QObject *parent = nullptr); - ~GLWidget(); + ~GLWidget() override; void createThread(RenderThread **thread, thread_function_t function, void *data); void startGlsl(); @@ -215,7 +215,7 @@ Q_OBJECT public: RenderThread(thread_function_t function, void *data, QOpenGLContext *context, QSurface *surface); - ~RenderThread(); + ~RenderThread() override; protected: void run() Q_DECL_OVERRIDE; @@ -232,7 +232,7 @@ Q_OBJECT public: explicit FrameRenderer(QOpenGLContext *shareContext, QSurface *surface); - ~FrameRenderer(); + ~FrameRenderer() override; QSemaphore *semaphore() { return &m_semaphore; diff --git a/src/monitor/monitor.h b/src/monitor/monitor.h --- a/src/monitor/monitor.h +++ b/src/monitor/monitor.h @@ -82,7 +82,7 @@ public: Monitor(Kdenlive::MonitorId id, MonitorManager *manager, QWidget *parent = nullptr); - ~Monitor(); + ~Monitor() override; Render *render; AbstractRender *abstractRender() Q_DECL_OVERRIDE; void resetProfile(const MltVideoProfile &profile); diff --git a/src/monitor/recmanager.h b/src/monitor/recmanager.h --- a/src/monitor/recmanager.h +++ b/src/monitor/recmanager.h @@ -58,7 +58,7 @@ public: explicit RecManager(Monitor *parent = nullptr); - ~RecManager(); + ~RecManager() override; QToolBar *toolbar() const; void stopCapture(); QAction *switchAction() const; diff --git a/src/monitor/recmonitor.h b/src/monitor/recmonitor.h --- a/src/monitor/recmonitor.h +++ b/src/monitor/recmonitor.h @@ -54,7 +54,7 @@ public: explicit RecMonitor(Kdenlive::MonitorId name, MonitorManager *manager, QWidget *parent = nullptr); - ~RecMonitor(); + ~RecMonitor() override; AbstractRender *abstractRender() Q_DECL_OVERRIDE; void analyseFrames(bool analyze); diff --git a/src/monitor/scopes/audiographspectrum.h b/src/monitor/scopes/audiographspectrum.h --- a/src/monitor/scopes/audiographspectrum.h +++ b/src/monitor/scopes/audiographspectrum.h @@ -80,7 +80,7 @@ Q_OBJECT public: AudioGraphSpectrum(MonitorManager *manager, QWidget *parent = nullptr); - virtual ~AudioGraphSpectrum(); + ~AudioGraphSpectrum() override; private: MonitorManager *m_manager; diff --git a/src/monitor/scopes/monitoraudiolevel.h b/src/monitor/scopes/monitoraudiolevel.h --- a/src/monitor/scopes/monitoraudiolevel.h +++ b/src/monitor/scopes/monitoraudiolevel.h @@ -36,7 +36,7 @@ Q_OBJECT public: explicit MonitorAudioLevel(Mlt::Profile *profile, int height, QWidget *parent = nullptr); - virtual ~MonitorAudioLevel(); + ~MonitorAudioLevel() override; void refreshPixmap(); int audioChannels; bool isValid; diff --git a/src/monitor/scopes/scopewidget.h b/src/monitor/scopes/scopewidget.h --- a/src/monitor/scopes/scopewidget.h +++ b/src/monitor/scopes/scopewidget.h @@ -67,7 +67,7 @@ explicit ScopeWidget(QWidget *parent = nullptr); //! Destructs a ScopeWidget. - virtual ~ScopeWidget(); + ~ScopeWidget() override; /*! Returns the title of the scope to be displayed by the application. diff --git a/src/onmonitoritems/rotoscoping/rotowidget.h b/src/onmonitoritems/rotoscoping/rotowidget.h --- a/src/onmonitoritems/rotoscoping/rotowidget.h +++ b/src/onmonitoritems/rotoscoping/rotowidget.h @@ -42,7 +42,7 @@ public: RotoWidget(const QByteArray &data, Monitor *monitor, const ItemInfo &info, const Timecode &t, QWidget *parent = nullptr); - ~RotoWidget(); + ~RotoWidget() override; /** @brief Returns the spline(s) in the JSON format used by filter_rotoscoping (MLT). */ QByteArray getSpline(); diff --git a/src/profiles/tree/profiletreemodel.hpp b/src/profiles/tree/profiletreemodel.hpp --- a/src/profiles/tree/profiletreemodel.hpp +++ b/src/profiles/tree/profiletreemodel.hpp @@ -34,7 +34,7 @@ public: explicit ProfileTreeModel(QObject *parent = 0); - ~ProfileTreeModel(); + ~ProfileTreeModel() override; QVariant data(const QModelIndex &index, int role) const override; //This is reimplemented to prevent selection of the categories diff --git a/src/project/clipmanager.h b/src/project/clipmanager.h --- a/src/project/clipmanager.h +++ b/src/project/clipmanager.h @@ -66,7 +66,7 @@ Q_OBJECT public: explicit ClipManager(KdenliveDoc *doc); - virtual ~ ClipManager(); + ~ ClipManager() override; void slotAddTextTemplateClip(const QString &titleName, const QUrl &path, const QString &group, const QString &groupId); void doDeleteClips(const QStringList &clipIds, const QStringList &folderIds, const QStringList &subClipIds, QUndoCommand *deleteCommand, bool execute); diff --git a/src/project/clipstabilize.h b/src/project/clipstabilize.h --- a/src/project/clipstabilize.h +++ b/src/project/clipstabilize.h @@ -31,7 +31,7 @@ public: explicit ClipStabilize(const QStringList &urls, const QString &filterName, int out, QWidget *parent = nullptr); - ~ClipStabilize(); + ~ClipStabilize() override; /** @brief Should the generated clip be added to current project. */ bool autoAddClip() const; /** @brief Return the producer parameters, producer name as value of "producer" entry. */ diff --git a/src/project/cliptranscode.h b/src/project/cliptranscode.h --- a/src/project/cliptranscode.h +++ b/src/project/cliptranscode.h @@ -33,7 +33,7 @@ public: ClipTranscode(const QStringList &urls, const QString ¶ms, const QStringList &postParams, const QString &description, const QStringList &folderInfo = QStringList(), bool automaticMode = false, QWidget *parent = nullptr); - ~ClipTranscode(); + ~ClipTranscode() override; public slots: void slotStartTransCode(); diff --git a/src/project/dialogs/archivewidget.h b/src/project/dialogs/archivewidget.h --- a/src/project/dialogs/archivewidget.h +++ b/src/project/dialogs/archivewidget.h @@ -51,7 +51,7 @@ ArchiveWidget(const QString &projectName, const QDomDocument &doc, const QList &list, const QStringList &luma_list, QWidget *parent = nullptr); // Constructor for extracting widget explicit ArchiveWidget(const QUrl &url, QWidget *parent = nullptr); - ~ArchiveWidget(); + ~ArchiveWidget() override; QString extractedProjectFile() const; diff --git a/src/project/dialogs/backupwidget.h b/src/project/dialogs/backupwidget.h --- a/src/project/dialogs/backupwidget.h +++ b/src/project/dialogs/backupwidget.h @@ -37,7 +37,7 @@ public: BackupWidget(const QUrl &projectUrl, const QUrl &projectFolder, const QString &projectId, QWidget *parent = nullptr); // Constructor for extracting widget - ~BackupWidget(); + ~BackupWidget() override; /** @brief Return the path for selected backup file. */ QString selectedFile() const; diff --git a/src/project/dialogs/noteswidget.h b/src/project/dialogs/noteswidget.h --- a/src/project/dialogs/noteswidget.h +++ b/src/project/dialogs/noteswidget.h @@ -33,7 +33,7 @@ Q_OBJECT public: explicit NotesWidget(QWidget *parent = nullptr); - ~NotesWidget(); + ~NotesWidget() override; protected: void mouseMoveEvent(QMouseEvent *e) Q_DECL_OVERRIDE; diff --git a/src/project/dialogs/profilewidget.h b/src/project/dialogs/profilewidget.h --- a/src/project/dialogs/profilewidget.h +++ b/src/project/dialogs/profilewidget.h @@ -44,7 +44,7 @@ Q_OBJECT public: explicit ProfileWidget(QWidget *parent = nullptr); - ~ProfileWidget(); + ~ProfileWidget() override; void loadProfile(const QString& profile); const QString selectedProfile() const; diff --git a/src/project/dialogs/slideshowclip.h b/src/project/dialogs/slideshowclip.h --- a/src/project/dialogs/slideshowclip.h +++ b/src/project/dialogs/slideshowclip.h @@ -34,7 +34,7 @@ public: explicit SlideshowClip(const Timecode &tc, QString clipFolder, ProjectClip *clip = nullptr, QWidget *parent = nullptr); - virtual ~ SlideshowClip(); + ~ SlideshowClip() override; /** return selected path for slideshow in MLT format */ QString selectedPath(); QString clipName() const; diff --git a/src/project/invaliddialog.h b/src/project/invaliddialog.h --- a/src/project/invaliddialog.h +++ b/src/project/invaliddialog.h @@ -31,7 +31,7 @@ public: explicit InvalidDialog(const QString &caption, const QString &message, bool infoOnly, QWidget *parent = nullptr); - ~InvalidDialog(); + ~InvalidDialog() override; void addClip(const QString &id, const QString &path); QStringList getIds() const; diff --git a/src/project/jobs/abstractclipjob.h b/src/project/jobs/abstractclipjob.h --- a/src/project/jobs/abstractclipjob.h +++ b/src/project/jobs/abstractclipjob.h @@ -48,7 +48,7 @@ ANALYSECLIPJOB = 6 }; AbstractClipJob(JOBTYPE type, ClipType cType, const QString &id, QObject *parent = nullptr); - virtual ~ AbstractClipJob(); + ~ AbstractClipJob() override; ClipType clipType; JOBTYPE jobType; QString description; diff --git a/src/project/jobs/cutclipjob.h b/src/project/jobs/cutclipjob.h --- a/src/project/jobs/cutclipjob.h +++ b/src/project/jobs/cutclipjob.h @@ -42,7 +42,7 @@ * @param parameters StringList that should contain: destination file << source file << in point (optional) << out point (optional) * */ CutClipJob(ClipType cType, const QString &id, const QStringList ¶meters); - virtual ~ CutClipJob(); + ~ CutClipJob() override; const QString destination() const Q_DECL_OVERRIDE; void startJob() Q_DECL_OVERRIDE; stringMap cancelProperties() Q_DECL_OVERRIDE; diff --git a/src/project/jobs/jobmanager.h b/src/project/jobs/jobmanager.h --- a/src/project/jobs/jobmanager.h +++ b/src/project/jobs/jobmanager.h @@ -45,7 +45,7 @@ public: explicit JobManager(Bin *bin); - virtual ~JobManager(); + ~JobManager() override; /** @brief Discard specific job type for a clip. * @param id the clip id diff --git a/src/project/jobs/meltjob.h b/src/project/jobs/meltjob.h --- a/src/project/jobs/meltjob.h +++ b/src/project/jobs/meltjob.h @@ -54,7 +54,7 @@ @param extraParams these parameters can be used to further affect the Job handling. */ MeltJob(ClipType cType, const QString &id, const QMap &producerParams, const QMap &filterParams, const QMap &consumerParams, const stringMap &extraParams = stringMap()); - virtual ~ MeltJob(); + ~ MeltJob() override; /** @brief Returns the file path that will be written by this Mlt job. Empty when no file is written. */ const QString destination() const Q_DECL_OVERRIDE; /** @brief Start processing the job. */ diff --git a/src/project/jobs/proxyclipjob.h b/src/project/jobs/proxyclipjob.h --- a/src/project/jobs/proxyclipjob.h +++ b/src/project/jobs/proxyclipjob.h @@ -33,7 +33,7 @@ public: ProxyJob(ClipType cType, const QString &id, const QStringList ¶meters, QTemporaryFile *playlist); - virtual ~ ProxyJob(); + ~ ProxyJob() override; const QString destination() const Q_DECL_OVERRIDE; void startJob() Q_DECL_OVERRIDE; stringMap cancelProperties() Q_DECL_OVERRIDE; diff --git a/src/project/notesplugin.h b/src/project/notesplugin.h --- a/src/project/notesplugin.h +++ b/src/project/notesplugin.h @@ -33,7 +33,7 @@ explicit NotesPlugin(ProjectManager *projectManager); NotesWidget *widget(); void clear(); - ~NotesPlugin(); + ~NotesPlugin() override; private slots: void setProject(KdenliveDoc *document); diff --git a/src/project/projectmanager.h b/src/project/projectmanager.h --- a/src/project/projectmanager.h +++ b/src/project/projectmanager.h @@ -42,7 +42,7 @@ public: /** @brief Sets up actions to interact for project interaction (undo, redo, open, save, ...) and creates an empty project. */ explicit ProjectManager(QObject *parent = nullptr); - virtual ~ProjectManager(); + ~ProjectManager() override; /** @brief Returns a pointer to the currently opened project. A project should always be open. */ KdenliveDoc *current(); diff --git a/src/qt-oauth-lib/logindialog.h b/src/qt-oauth-lib/logindialog.h --- a/src/qt-oauth-lib/logindialog.h +++ b/src/qt-oauth-lib/logindialog.h @@ -59,7 +59,7 @@ public: explicit LoginDialog(QWidget *parent = nullptr); - ~LoginDialog(); + ~LoginDialog() override; void setLoginUrl(const QUrl &url); QString authCode() const; diff --git a/src/renderer.h b/src/renderer.h --- a/src/renderer.h +++ b/src/renderer.h @@ -103,7 +103,7 @@ Render(Kdenlive::MonitorId rendererName, BinController *binController, GLWidget *qmlView, QWidget *parent = nullptr); /** @brief Destroy the MLT Renderer. */ - virtual ~Render(); + ~Render() override; /** @brief In some trim modes, arrow keys move the trim pos but not timeline cursor. * if byPassSeek is true, we don't seek renderer but emit a signal for timeline. */ bool byPassSeek; diff --git a/src/scopes/abstractscopewidget.h b/src/scopes/abstractscopewidget.h --- a/src/scopes/abstractscopewidget.h +++ b/src/scopes/abstractscopewidget.h @@ -66,7 +66,7 @@ \see signalMousePositionChanged(): Emitted when mouse tracking is enabled */ explicit AbstractScopeWidget(bool trackMouse = false, QWidget *parent = nullptr); - virtual ~AbstractScopeWidget(); // Must be virtual because of inheritance, to avoid memory leaks + ~AbstractScopeWidget() override; // Must be virtual because of inheritance, to avoid memory leaks enum RescaleDirection { North, Northeast, East, Southeast }; diff --git a/src/scopes/audioscopes/abstractaudioscopewidget.h b/src/scopes/audioscopes/abstractaudioscopewidget.h --- a/src/scopes/audioscopes/abstractaudioscopewidget.h +++ b/src/scopes/audioscopes/abstractaudioscopewidget.h @@ -28,7 +28,7 @@ Q_OBJECT public: explicit AbstractAudioScopeWidget(bool trackMouse = false, QWidget *parent = nullptr); - virtual ~AbstractAudioScopeWidget(); + ~AbstractAudioScopeWidget() override; public slots: void slotReceiveAudio(const audioShortVector &sampleData, int freq, int num_channels, int num_samples); diff --git a/src/scopes/audioscopes/audiosignal.h b/src/scopes/audioscopes/audiosignal.h --- a/src/scopes/audioscopes/audiosignal.h +++ b/src/scopes/audioscopes/audiosignal.h @@ -35,7 +35,7 @@ Q_OBJECT public: explicit AudioSignal(QWidget *parent = nullptr); - ~AudioSignal(); + ~AudioSignal() override; /** @brief Used for checking whether audio data needs to be delivered */ bool monitoringEnabled() const; diff --git a/src/scopes/audioscopes/audiospectrum.h b/src/scopes/audioscopes/audiospectrum.h --- a/src/scopes/audioscopes/audiospectrum.h +++ b/src/scopes/audioscopes/audiospectrum.h @@ -40,7 +40,7 @@ public: explicit AudioSpectrum(QWidget *parent = nullptr); - ~AudioSpectrum(); + ~AudioSpectrum() override; // Implemented virtual methods QString widgetName() const Q_DECL_OVERRIDE; diff --git a/src/scopes/audioscopes/spectrogram.h b/src/scopes/audioscopes/spectrogram.h --- a/src/scopes/audioscopes/spectrogram.h +++ b/src/scopes/audioscopes/spectrogram.h @@ -36,7 +36,7 @@ public: explicit Spectrogram(QWidget *parent = nullptr); - ~Spectrogram(); + ~Spectrogram() override; QString widgetName() const Q_DECL_OVERRIDE; diff --git a/src/scopes/colorscopes/abstractgfxscopewidget.h b/src/scopes/colorscopes/abstractgfxscopewidget.h --- a/src/scopes/colorscopes/abstractgfxscopewidget.h +++ b/src/scopes/colorscopes/abstractgfxscopewidget.h @@ -26,7 +26,7 @@ public: explicit AbstractGfxScopeWidget(bool trackMouse = false, QWidget *parent = nullptr); - virtual ~AbstractGfxScopeWidget(); // Must be virtual because of inheritance, to avoid memory leaks + ~AbstractGfxScopeWidget() override; // Must be virtual because of inheritance, to avoid memory leaks protected: ///// Variables ///// diff --git a/src/scopes/colorscopes/colorplaneexport.h b/src/scopes/colorscopes/colorplaneexport.h --- a/src/scopes/colorscopes/colorplaneexport.h +++ b/src/scopes/colorscopes/colorplaneexport.h @@ -27,7 +27,7 @@ Q_OBJECT public: explicit ColorPlaneExport(QWidget *parent = nullptr); - ~ColorPlaneExport(); + ~ColorPlaneExport() override; enum COLOR_EXPORT_MODE { CPE_YUV, CPE_YUV_Y, CPE_YUV_MOD, CPE_RGB_CURVE, CPE_YPbPr, CPE_HSV_HUESHIFT, CPE_HSV_SATURATION }; diff --git a/src/scopes/colorscopes/histogram.h b/src/scopes/colorscopes/histogram.h --- a/src/scopes/colorscopes/histogram.h +++ b/src/scopes/colorscopes/histogram.h @@ -25,7 +25,7 @@ public: explicit Histogram(QWidget *parent = nullptr); - ~Histogram(); + ~Histogram() override; QString widgetName() const Q_DECL_OVERRIDE; protected: diff --git a/src/scopes/colorscopes/rgbparade.h b/src/scopes/colorscopes/rgbparade.h --- a/src/scopes/colorscopes/rgbparade.h +++ b/src/scopes/colorscopes/rgbparade.h @@ -26,7 +26,7 @@ { public: explicit RGBParade(QWidget *parent = nullptr); - ~RGBParade(); + ~RGBParade() override; QString widgetName() const Q_DECL_OVERRIDE; protected: diff --git a/src/scopes/colorscopes/vectorscope.h b/src/scopes/colorscopes/vectorscope.h --- a/src/scopes/colorscopes/vectorscope.h +++ b/src/scopes/colorscopes/vectorscope.h @@ -32,7 +32,7 @@ public: explicit Vectorscope(QWidget *parent = nullptr); - ~Vectorscope(); + ~Vectorscope() override; QString widgetName() const Q_DECL_OVERRIDE; diff --git a/src/scopes/colorscopes/waveform.h b/src/scopes/colorscopes/waveform.h --- a/src/scopes/colorscopes/waveform.h +++ b/src/scopes/colorscopes/waveform.h @@ -29,7 +29,7 @@ public: explicit Waveform(QWidget *parent = nullptr); - ~Waveform(); + ~Waveform() override; QString widgetName() const Q_DECL_OVERRIDE; diff --git a/src/scopes/colorscopes/waveformgenerator.h b/src/scopes/colorscopes/waveformgenerator.h --- a/src/scopes/colorscopes/waveformgenerator.h +++ b/src/scopes/colorscopes/waveformgenerator.h @@ -24,7 +24,7 @@ enum Rec { Rec_601, Rec_709 }; WaveformGenerator(); - ~WaveformGenerator(); + ~WaveformGenerator() override; QImage calculateWaveform(const QSize &waveformSize, const QImage &image, WaveformGenerator::PaintMode paintMode, bool drawAxis, const WaveformGenerator::Rec rec, uint accelFactor = 1); diff --git a/src/simplekeyframes/simplekeyframewidget.h b/src/simplekeyframes/simplekeyframewidget.h --- a/src/simplekeyframes/simplekeyframewidget.h +++ b/src/simplekeyframes/simplekeyframewidget.h @@ -33,7 +33,7 @@ public: explicit SimpleKeyframeWidget(const Timecode &t, int duration, QWidget *parent = nullptr); - ~SimpleKeyframeWidget(); + ~SimpleKeyframeWidget() override; int getPosition() const; void setKeyframes(const QList &keyframes); diff --git a/src/statusbarmessagelabel.h b/src/statusbarmessagelabel.h --- a/src/statusbarmessagelabel.h +++ b/src/statusbarmessagelabel.h @@ -46,7 +46,7 @@ Q_OBJECT public: explicit FlashLabel(QWidget *parent = nullptr); - ~FlashLabel(); + ~FlashLabel() override; QColor color() const; void setColor(const QColor &); }; @@ -90,7 +90,7 @@ public: explicit StatusBarMessageLabel(QWidget *parent); - virtual ~StatusBarMessageLabel(); + ~StatusBarMessageLabel() override; void updatePalette(); protected: diff --git a/src/stopmotion/stopmotion.h b/src/stopmotion/stopmotion.h --- a/src/stopmotion/stopmotion.h +++ b/src/stopmotion/stopmotion.h @@ -60,7 +60,7 @@ Q_OBJECT public: StopmotionMonitor(MonitorManager *manager, QWidget *parent); - ~StopmotionMonitor(); + ~StopmotionMonitor() override; AbstractRender *abstractRender() Q_DECL_OVERRIDE; Kdenlive::MonitorId id() const; void setRender(MltDeviceCapture *render); @@ -91,7 +91,7 @@ * @param actions The actions for this widget that can have a keyboard shortcut. * @param parent (optional) parent widget */ StopmotionWidget(MonitorManager *manager, const QUrl &projectFolder, const QList< QAction * > &actions, QWidget *parent = nullptr); - virtual ~StopmotionWidget(); + ~StopmotionWidget() override; protected: void closeEvent(QCloseEvent *e) Q_DECL_OVERRIDE; diff --git a/src/timeline/abstractclipitem.h b/src/timeline/abstractclipitem.h --- a/src/timeline/abstractclipitem.h +++ b/src/timeline/abstractclipitem.h @@ -44,7 +44,7 @@ public: AbstractClipItem(const ItemInfo &info, const QRectF &rect, double fps); - virtual ~ AbstractClipItem(); + ~ AbstractClipItem() override; ItemInfo info() const; CustomTrackScene *projectScene(); void updateRectGeometry(); diff --git a/src/timeline/clip.h b/src/timeline/clip.h --- a/src/timeline/clip.h +++ b/src/timeline/clip.h @@ -36,7 +36,7 @@ public: explicit Clip(Mlt::Producer &producer); Clip(Clip &other); - ~Clip(); + ~Clip() override; Clip &operator=(Clip &other); const QByteArray xml(); /** @brief: Clone a producer (creates a completely independent copy). */ diff --git a/src/timeline/clipdurationdialog.h b/src/timeline/clipdurationdialog.h --- a/src/timeline/clipdurationdialog.h +++ b/src/timeline/clipdurationdialog.h @@ -37,7 +37,7 @@ public: explicit ClipDurationDialog(AbstractClipItem *clip, const Timecode &tc, const GenTime &min, const GenTime &max, QWidget *parent = nullptr); - ~ClipDurationDialog(); + ~ClipDurationDialog() override; GenTime startPos() const; GenTime cropStart() const; GenTime duration() const; diff --git a/src/timeline/clipitem.h b/src/timeline/clipitem.h --- a/src/timeline/clipitem.h +++ b/src/timeline/clipitem.h @@ -47,7 +47,7 @@ public: ClipItem(ProjectClip *clip, const ItemInfo &info, double fps, double speed, int strobe, int frame_width, bool generateThumbs = true); - virtual ~ ClipItem(); + ~ ClipItem() override; void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *) Q_DECL_OVERRIDE; diff --git a/src/timeline/customtrackscene.h b/src/timeline/customtrackscene.h --- a/src/timeline/customtrackscene.h +++ b/src/timeline/customtrackscene.h @@ -41,7 +41,7 @@ public: explicit CustomTrackScene(Timeline *timeline, QObject *parent = nullptr); - ~CustomTrackScene(); + ~CustomTrackScene() override; void setSnapList(const QList &snaps); GenTime previousSnapPoint(const GenTime &pos) const; GenTime nextSnapPoint(const GenTime &pos) const; diff --git a/src/timeline/customtrackview.h b/src/timeline/customtrackview.h --- a/src/timeline/customtrackview.h +++ b/src/timeline/customtrackview.h @@ -50,7 +50,7 @@ public: CustomTrackView(KdenliveDoc *doc, Timeline *timeline, CustomTrackScene *projectscene, QWidget *parent = nullptr); - virtual ~ CustomTrackView(); + ~ CustomTrackView() override; void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE; void mouseReleaseEvent(QMouseEvent *event) Q_DECL_OVERRIDE; diff --git a/src/timeline/effectmanager.h b/src/timeline/effectmanager.h --- a/src/timeline/effectmanager.h +++ b/src/timeline/effectmanager.h @@ -38,7 +38,7 @@ public: explicit EffectManager(Mlt::Service &producer, QObject *parent = nullptr); EffectManager(EffectManager &other); - ~EffectManager(); + ~EffectManager() override; EffectManager &operator=(EffectManager &other); Mlt::Service &producer(); void setProducer(Mlt::Service &producer); diff --git a/src/timeline/headertrack.h b/src/timeline/headertrack.h --- a/src/timeline/headertrack.h +++ b/src/timeline/headertrack.h @@ -35,7 +35,7 @@ public: HeaderTrack(const TrackInfo &info, const QList &actions, Track *parent, int height, QWidget *parentWidget); - virtual ~HeaderTrack(); + ~HeaderTrack() override; bool isTarget; void setLock(bool lock); void adjustSize(int height); diff --git a/src/timeline/keyframeview.h b/src/timeline/keyframeview.h --- a/src/timeline/keyframeview.h +++ b/src/timeline/keyframeview.h @@ -52,7 +52,7 @@ }; explicit KeyframeView(int handleSize, QObject *parent = nullptr); - virtual ~KeyframeView(); + ~KeyframeView() override; /** The position of the currently active keyframe */ int activeKeyframe; diff --git a/src/timeline/managers/previewmanager.h b/src/timeline/managers/previewmanager.h --- a/src/timeline/managers/previewmanager.h +++ b/src/timeline/managers/previewmanager.h @@ -52,7 +52,7 @@ public: explicit PreviewManager(KdenliveDoc *doc, CustomRuler *ruler, Mlt::Tractor *tractor); - virtual ~PreviewManager(); + ~PreviewManager() override; /** @brief: initialize base variables, return false if error. */ bool initialize(); /** @brief: a timeline operation caused changes to frames between startFrame and endFrame. */ diff --git a/src/timeline/markerdialog.h b/src/timeline/markerdialog.h --- a/src/timeline/markerdialog.h +++ b/src/timeline/markerdialog.h @@ -44,7 +44,7 @@ public: explicit MarkerDialog(ClipController *clip, const CommentedTime &t, const Timecode &tc, const QString &caption, QWidget *parent = nullptr); - ~MarkerDialog(); + ~MarkerDialog() override; CommentedTime newMarker(); QImage markerImage() const; diff --git a/src/timeline/timeline.h b/src/timeline/timeline.h --- a/src/timeline/timeline.h +++ b/src/timeline/timeline.h @@ -62,7 +62,7 @@ public: explicit Timeline(KdenliveDoc *doc, const QList &actions, const QList &rulerActions, bool *ok, QWidget *parent = nullptr); - virtual ~ Timeline(); + ~ Timeline() override; /** @brief is multitrack view (split screen for tracks) enabled */ bool multitrackView; diff --git a/src/timeline/track.h b/src/timeline/track.h --- a/src/timeline/track.h +++ b/src/timeline/track.h @@ -52,7 +52,7 @@ * @param playlist is the MLT object used for monitor/render * @param fps is the read speed (frames per seconds) */ explicit Track(int index, const QList &actions, Mlt::Playlist &playlist, TrackType trackType, int height, QWidget *parent = nullptr); - ~Track(); + ~Track() override; struct SlowmoInfo { double speed; diff --git a/src/timeline/transition.h b/src/timeline/transition.h --- a/src/timeline/transition.h +++ b/src/timeline/transition.h @@ -41,7 +41,7 @@ public: Transition(const ItemInfo &info, int transitiontrack, double fps, const QDomElement ¶ms = QDomElement(), bool automaticTransition = false); - virtual ~Transition(); + ~Transition() override; void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) Q_DECL_OVERRIDE; diff --git a/src/titler/KoSliderCombo.h b/src/titler/KoSliderCombo.h --- a/src/titler/KoSliderCombo.h +++ b/src/titler/KoSliderCombo.h @@ -53,7 +53,7 @@ /** * Destructor */ - virtual ~KoSliderCombo(); + ~KoSliderCombo() override; /** * The precision of values given as the number of digits after the period. diff --git a/src/titler/titlewidget.h b/src/titler/titlewidget.h --- a/src/titler/titlewidget.h +++ b/src/titler/titlewidget.h @@ -69,7 +69,7 @@ * @param render project renderer * @param parent (optional) parent widget */ explicit TitleWidget(const QUrl &url, const Timecode &tc, const QString &projectTitlePath, Render *render, QWidget *parent = nullptr); - virtual ~TitleWidget(); + ~TitleWidget() override; QDomDocument xml(); void setXml(const QDomDocument &doc, const QString &id = QString()); diff --git a/src/titler/unicodedialog.h b/src/titler/unicodedialog.h --- a/src/titler/unicodedialog.h +++ b/src/titler/unicodedialog.h @@ -21,7 +21,7 @@ /** \brief The input method for the dialog. Atm only InputHex supported. */ enum InputMethod { InputHex, InputDec }; explicit UnicodeDialog(InputMethod inputMeth, QWidget *parent = nullptr); - ~UnicodeDialog(); + ~UnicodeDialog() override; private Q_SLOTS: void slotAccept(); @@ -40,7 +40,7 @@ public: explicit UnicodeWidget(UnicodeDialog::InputMethod inputMeth, QWidget *parent = nullptr); - ~UnicodeWidget(); + ~UnicodeWidget() override; /** \brief Returns infos about a unicode number. Extendable/improvable ;) */ QString unicodeInfo(const QString &unicode); diff --git a/src/utils/abstractservice.h b/src/utils/abstractservice.h --- a/src/utils/abstractservice.h +++ b/src/utils/abstractservice.h @@ -63,7 +63,7 @@ ARCHIVEORG = 3 }; explicit AbstractService(QListWidget *listWidget, QObject *parent = nullptr); - ~AbstractService(); + ~AbstractService() override; /** @brief Get file extension for currently selected item. */ virtual QString getExtension(QListWidgetItem *item); /** @brief Get recommEnded download file name. */ diff --git a/src/utils/archiveorg.h b/src/utils/archiveorg.h --- a/src/utils/archiveorg.h +++ b/src/utils/archiveorg.h @@ -37,7 +37,7 @@ public: explicit ArchiveOrg(QListWidget *listWidget, QObject *parent = nullptr); - virtual ~ArchiveOrg(); + ~ArchiveOrg() override; QString getExtension(QListWidgetItem *item) Q_DECL_OVERRIDE; QString getDefaultDownloadName(QListWidgetItem *item) Q_DECL_OVERRIDE; diff --git a/src/utils/flowlayout.h b/src/utils/flowlayout.h --- a/src/utils/flowlayout.h +++ b/src/utils/flowlayout.h @@ -49,7 +49,7 @@ public: explicit FlowLayout(QWidget *parent, int margin = -1, int hSpacing = -1, int vSpacing = -1); explicit FlowLayout(int margin = -1, int hSpacing = -1, int vSpacing = -1); - ~FlowLayout(); + ~FlowLayout() override; void addItem(QLayoutItem *item) Q_DECL_OVERRIDE; int horizontalSpacing() const; diff --git a/src/utils/freesound.h b/src/utils/freesound.h --- a/src/utils/freesound.h +++ b/src/utils/freesound.h @@ -37,7 +37,7 @@ public: explicit FreeSound(QListWidget *listWidget, QObject *parent = nullptr); - ~FreeSound(); + ~FreeSound() override; QString getExtension(QListWidgetItem *item) Q_DECL_OVERRIDE; QString getDefaultDownloadName(QListWidgetItem *item) Q_DECL_OVERRIDE; diff --git a/src/utils/openclipart.h b/src/utils/openclipart.h --- a/src/utils/openclipart.h +++ b/src/utils/openclipart.h @@ -36,7 +36,7 @@ public: explicit OpenClipArt(QListWidget *listWidget, QObject *parent = nullptr); - ~OpenClipArt(); + ~OpenClipArt() override; QString getExtension(QListWidgetItem *item) Q_DECL_OVERRIDE; QString getDefaultDownloadName(QListWidgetItem *item) Q_DECL_OVERRIDE; diff --git a/src/utils/progressbutton.h b/src/utils/progressbutton.h --- a/src/utils/progressbutton.h +++ b/src/utils/progressbutton.h @@ -40,7 +40,7 @@ Q_OBJECT public: explicit ProgressButton(const QString &text, double max = 100, QWidget *parent = nullptr); - ~ProgressButton(); + ~ProgressButton() override; int progress() const; void setProgress(int); void defineDefaultAction(QAction *action, QAction *actionInProgress); diff --git a/src/utils/resourcewidget.h b/src/utils/resourcewidget.h --- a/src/utils/resourcewidget.h +++ b/src/utils/resourcewidget.h @@ -50,7 +50,7 @@ public: explicit ResourceWidget(const QString &folder, QWidget *parent = nullptr); - ~ResourceWidget(); + ~ResourceWidget() override; private slots: void slotStartSearch(int page = 0); diff --git a/src/utils/thememanager.h b/src/utils/thememanager.h --- a/src/utils/thememanager.h +++ b/src/utils/thememanager.h @@ -46,7 +46,7 @@ public: - ~ThemeManager(); + ~ThemeManager() override; static ThemeManager *instance(); QString currentThemeName() const; diff --git a/thumbnailer/mltpreview.h b/thumbnailer/mltpreview.h --- a/thumbnailer/mltpreview.h +++ b/thumbnailer/mltpreview.h @@ -32,7 +32,7 @@ { public: MltPreview(); - virtual ~MltPreview(); + ~MltPreview() override; bool create(const QString &path, int width, int height, QImage &img) Q_DECL_OVERRIDE; Flags flags() const Q_DECL_OVERRIDE;