]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFootlike.h
prepare Qt 5.6 builds
[lyx.git] / src / insets / InsetFootlike.h
index 32d0f6c84c94f5101d7df3d661996474f652a636..f16f355a963b09d44adee31689717c95065892c3 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.
  */
@@ -23,21 +23,22 @@ namespace lyx {
 class InsetFootlike : public InsetCollapsable {
 public:
        ///
-       InsetFootlike(BufferParams const &);
+       InsetFootlike(Buffer *);
        ///
-       InsetFootlike(InsetFootlike const &);
+       bool hasSettings() const { return false; }
+private:
        ///
        void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
-       void write(Buffer const & buf, std::ostream & os) const;
+       void write(std::ostream & os) const;
        ///
        bool insetAllowed(InsetCode) const;
-       /** returns true if, when outputing LaTeX, font changes should
+       /** returns false 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 inheritFont() const { return false; }
 };