]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocWidget.h
Remove the magic boolean in getChildren() from the public interface.
[lyx.git] / src / frontends / qt4 / TocWidget.h
index 12f691c182bf6bf889682a310195422288bcd823..6dd9fbf76a938555b1425d7c7be0a558a8f0dd63 100644 (file)
@@ -16,6 +16,7 @@
 #include "ui_TocUi.h"
 
 #include "Cursor.h"
+#include "FuncCode.h"
 
 #include <QWidget>
 
@@ -85,7 +86,7 @@ private:
        ///
        void setTreeDepth(int depth);
        ///
-       void outline(int func_code);
+       void outline(FuncCode func_code);
        /// finds the inset that is connected to the current item,
        /// if any, otherwise return null
        Inset * itemInset() const;