]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocWidget.h
Complete the removal of the embedding stuff. Maybe. It's hard to be sure we got every...
[lyx.git] / src / frontends / qt4 / TocWidget.h
index 830c0b1d4eeaa34acfd9c234d50778346e57be36..5a51e0f8ad31aa7a0bd106ddf338003177b1ed9f 100644 (file)
@@ -14,7 +14,7 @@
 #define TOC_WIDGET_H
 
 #include "GuiDialog.h"
-#include "ControlToc.h"
+#include "GuiToc.h"
 #include "ui_TocUi.h"
 
 
@@ -32,9 +32,10 @@ public:
        /// Update the display of the dialog whilst it is still visible.
        void updateView();
 
-protected Q_SLOTS:
        /// Update Gui of the display.
-       void updateGui();
+       void updateGui(int selected_type);
+
+protected Q_SLOTS:
        ///
        void setTocModel(size_t type);
        ///
@@ -50,6 +51,7 @@ protected Q_SLOTS:
        void on_moveDownTB_clicked();
        void on_moveInTB_clicked();
        void on_moveOutTB_clicked();
+       void setTreeDepth() { setTreeDepth(depth_); }
 
 protected:
        ///