X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetTOC.h;h=045ae07e6d0f3c0729ab83c7384c2a453c3e0119;hb=eeb36e808c9726fd3689926a3c20457e3b801341;hp=00f6c7688bad4e52646faf1ebfc5e8532a97a292;hpb=a6b07608d8e9de24383d3ebaec20b6b265ed9314;p=lyx.git diff --git a/src/insets/InsetTOC.h b/src/insets/InsetTOC.h index 00f6c7688b..045ae07e6d 100644 --- a/src/insets/InsetTOC.h +++ b/src/insets/InsetTOC.h @@ -33,24 +33,24 @@ public: /// \name Public functions inherited from Inset class //@{ /// - InsetCode lyxCode() const { return TOC_CODE; } + InsetCode lyxCode() const override { return TOC_CODE; } /// - docstring layoutName() const; + docstring layoutName() const override; /// - DisplayType display() const { return AlignCenter; } + RowFlags rowFlags() const override { return Display; } /// - virtual void validate(LaTeXFeatures &) const; + void validate(LaTeXFeatures &) const override; /// int plaintext(odocstringstream & ods, OutputParams const & op, - size_t max_length = INT_MAX) const; + size_t max_length = INT_MAX) const override; /// - int docbook(odocstream &, OutputParams const &) const; + void docbook(XMLStream &, OutputParams const &) const override; /// - docstring xhtml(XMLStream & xs, OutputParams const &) const; + docstring xhtml(XMLStream & xs, OutputParams const &) const override; /// - void doDispatch(Cursor & cur, FuncRequest & cmd); + void doDispatch(Cursor & cur, FuncRequest & cmd) override; /// - bool clickable(BufferView const &, int, int) const { return true; } + bool clickable(BufferView const &, int, int) const override { return true; } //@} /// \name Static public methods obligated for InsetCommand derived classes @@ -74,13 +74,13 @@ private: /// \name Private functions inherited from Inset class //@{ /// - Inset * clone() const { return new InsetTOC(*this); } + Inset * clone() const override { return new InsetTOC(*this); } //@} /// \name Private functions inherited from InsetCommand class //@{ /// - docstring screenLabel() const; + docstring screenLabel() const override; //@} };