]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiLine.h
Add `override` specifiers to improve code maintainability
[features.git] / src / frontends / qt / GuiLine.h
index 076d5444b129f21cd7f89d4461f4fc824a1de9d3..ce4b00ffc560b0b443a375e597b8fb2c12402b88 100644 (file)
@@ -29,12 +29,12 @@ public:
 private:
        /// \name InsetParamsWidget inherited methods
        //@{
-       InsetCode insetCode() const { return LINE_CODE; }
-       FuncCode creationCode() const { return LFUN_INSET_INSERT; }
-       QString dialogTitle() const { return qt_("Line Settings"); }
-       void paramsToDialog(Inset const *);
-       docstring dialogToParams() const;
-       bool checkWidgets(bool readonly) const;
+       InsetCode insetCode() const override { return LINE_CODE; }
+       FuncCode creationCode() const override { return LFUN_INSET_INSERT; }
+       QString dialogTitle() const override { return qt_("Line Settings"); }
+       void paramsToDialog(Inset const *) override;
+       docstring dialogToParams() const override;
+       bool checkWidgets(bool readonly) const override;
        //@}
 };