]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/TocModel.h
Add missing initialization
[lyx.git] / src / frontends / qt4 / TocModel.h
index 7b22ce6230f007f5ed5dfd61708dbc435354d314..0c3c6b09dde61d52851f15e99c9a4319b892a575 100644 (file)
@@ -65,6 +65,8 @@ private:
        ///
        void populate(unsigned int & index, QModelIndex const & parent);
        ///
+       void setString(TocItem const & item, QModelIndex index);
+       ///
        TocTypeModel * model_;
        ///
        QSortFilterProxyModel * sorted_model_;
@@ -119,7 +121,8 @@ public:
        ///
        QAbstractItemModel * nameModel();
        ///
-       QModelIndex currentIndex(QString const & type) const;
+       QModelIndex currentIndex(QString const & type,
+                                DocIterator const & dit) const;
        ///
        void goTo(QString const & type, QModelIndex const & index) const;
        ///
@@ -140,8 +143,6 @@ private:
        ///
        void clear();
        ///
-       BufferView const * bv_;
-       ///
        QHash<QString, TocModel *> models_;
        ///
        TocTypeModel * names_;