]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
Properly fix handling of title layouts within insets (#11787)
[lyx.git] / src / insets / InsetFloatList.h
index 58a7e232f6a77a53aabe606e518dffedf4aba81d..20c8e22d62587374635397fc547a6b21b75e36e4 100644 (file)
@@ -23,7 +23,7 @@ namespace lyx {
 class InsetFloatList : public InsetCommand {
 public:
        ///
-       InsetFloatList(Buffer *);
+       explicit InsetFloatList(Buffer *);
        ///
        InsetFloatList(Buffer *, std::string const & type);
 
@@ -32,7 +32,7 @@ public:
        ///
        InsetCode lyxCode() const { return FLOAT_LIST_CODE; }
        ///
-       DisplayType display() const { return AlignCenter; }
+       RowFlags rowFlags() const { return Display; }
        ///
        void write(std::ostream &) const;
        ///
@@ -45,11 +45,11 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       docstring xhtml(XMLStream &, OutputParams const &) const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
-       bool clickable(int, int) const { return true; }
+       bool clickable(BufferView const &, int, int) const { return true; }
        ///
        void validate(LaTeXFeatures & features) const;
        //@}
@@ -78,9 +78,6 @@ private:
        ///
        docstring screenLabel() const;
        //@}
-
-       ///
-       static ParamInfo param_info_;
 };