]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFootlike.h
Remove profiling.py
[lyx.git] / src / insets / InsetFootlike.h
index 20477a0099b2225a1d914cca2ab34325bccf3fd9..a2f9939d7f347716e3fbf2a37400f97d0640a1e4 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -12,7 +12,7 @@
 #ifndef INSETFOOTLIKE_H
 #define INSETFOOTLIKE_H
 
-#include "InsetCollapsable.h"
+#include "InsetCollapsible.h"
 
 
 namespace lyx {
@@ -20,23 +20,17 @@ namespace lyx {
 // To have this class is probably a bit overkill... (Lgb)
 
 // The footnote inset
-class InsetFootlike : public InsetCollapsable {
+class InsetFootlike : public InsetCollapsible {
 public:
        ///
-       InsetFootlike(Buffer const &);
-private:
-       ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       explicit InsetFootlike(Buffer *);
        ///
-       void draw(PainterInfo & pi, int x, int y) const;
+       bool hasSettings() const override { return false; }
+private:
        ///
-       void write(std::ostream & os) const;
+       void write(std::ostream & os) const override;
        ///
-       bool insetAllowed(InsetCode) const;
-       /** returns true if, when outputing LaTeX, font changes should
-           be closed before generating this inset. This is needed for
-           insets that may contain several paragraphs */
-       bool noFontChange() const { return true; }
+       bool insetAllowed(InsetCode) const override;
 };