]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFootlike.h
Completion: handle undo in insets' insertCompletion methods
[features.git] / src / insets / InsetFootlike.h
index f4bcbdef19445eef05d42ee074a8dbb211cc4410..e0a3fd31d075dfe07f4c4313b21a62fbe4fef6e5 100644 (file)
@@ -23,22 +23,18 @@ namespace lyx {
 class InsetFootlike : public InsetCollapsible {
 public:
        ///
-       InsetFootlike(Buffer *);
+       explicit InsetFootlike(Buffer *);
        ///
-       bool hasSettings() const { return false; }
+       bool hasSettings() const override { return false; }
 private:
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       void write(std::ostream & os) const override;
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
-       ///
-       void write(std::ostream & os) const;
-       ///
-       bool insetAllowed(InsetCode) const;
-       /** returns false if, when outputing LaTeX, font changes should
+       bool insetAllowed(InsetCode) const override;
+       /** returns false if, when outputting LaTeX, font changes should
            be closed before generating this inset. This is needed for
            insets that may contain several paragraphs */
-       bool inheritFont() const { return false; }
+       bool inheritFont() const override { return false; }
 };