]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocWidget.h
Remove the .aux and .bbl files and update the citation labels
[lyx.git] / src / frontends / qt4 / TocWidget.h
index 12f691c182bf6bf889682a310195422288bcd823..608920a42ad3f7b7f03519895e6686c1930d9301 100644 (file)
@@ -16,6 +16,7 @@
 #include "ui_TocUi.h"
 
 #include "Cursor.h"
+#include "FuncCode.h"
 
 #include <QWidget>
 
@@ -43,8 +44,10 @@ public:
                const;
 
 public Q_SLOTS:
-       /// Update the display of the dialog whilst it is still visible.
+       /// Schedule new update of the display unless already scheduled.
        void updateView();
+       /// Update the display of the dialog whilst it is still visible.
+       void updateViewForce();
 
 protected Q_SLOTS:
        ///
@@ -85,7 +88,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;
@@ -98,6 +101,8 @@ private:
        bool persistent_;
        ///
        GuiView & gui_view_;
+       // next delay for outliner update in ms. -1 when already scheduled.
+       int update_delay_;
 };
 
 } // namespace frontend