]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiLabel.h
Add `override` specifiers to improve code maintainability
[features.git] / src / frontends / qt / GuiLabel.h
index 261f145a5e32b24932eed16cf5b18058249c2f8e..7eb6fd4e3766b842d3500fdb7cca445106b68149 100644 (file)
@@ -30,13 +30,13 @@ public:
 private:
        /// \name InsetParamsWidget inherited methods
        //@{
-       InsetCode insetCode() const { return LABEL_CODE; }
-       FuncCode creationCode() const { return LFUN_INSET_INSERT; }
-       QString dialogTitle() const { return qt_("Label Settings"); }
-       void paramsToDialog(Inset const *);
-       docstring dialogToParams() const;
-       bool checkWidgets(bool readonly) const;
-       bool initialiseParams(std::string const &);
+       InsetCode insetCode() const override { return LABEL_CODE; }
+       FuncCode creationCode() const override { return LFUN_INSET_INSERT; }
+       QString dialogTitle() const override { return qt_("Label Settings"); }
+       void paramsToDialog(Inset const *) override;
+       docstring dialogToParams() const override;
+       bool checkWidgets(bool readonly) const override;
+       bool initialiseParams(std::string const &) override;
        //@}
 };