]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.h
Get rid of Qt resources
[lyx.git] / src / insets / InsetTOC.h
index e5127d62c38504a2e437b57ce3d2da4bb51670cf..4d48c3220f5ce40acf031689966539ca7290e3c0 100644 (file)
 
 #include "InsetCommand.h"
 
+#include "Toc.h"
+
 
 namespace lyx {
 
-class Toc;
+class Paragraph;
 
 /// Used to insert table of contents and similar lists
 /// at present, supports only \tableofcontents and \listoflistings.
@@ -48,7 +50,7 @@ public:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
-       bool clickable(int, int) const { return true; }
+       bool clickable(BufferView const &, int, int) const { return true; }
        //@}
 
        /// \name Static public methods obligated for InsetCommand derived classes
@@ -63,9 +65,12 @@ public:
 
 private:
        ///
-       void makeTOCWithDepth(XHTMLStream xs, Toc toc, const OutputParams & op) const;
+       void makeTOCWithDepth(XHTMLStream & xs, Toc const & toc, const OutputParams & op) const;
+       ///
+       void makeTOCNoDepth(XHTMLStream & xs, Toc const & toc, const OutputParams & op) const;
        ///
-       void makeTOCNoDepth(XHTMLStream xs, Toc toc, const OutputParams & op) const;
+       void makeTOCEntry(XHTMLStream & xs, Paragraph const & par, OutputParams const & op) const;
+
        /// \name Private functions inherited from Inset class
        //@{
        ///