4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
8 * \author Kalle Dalheimer
9 * \author Abdelrazak Younes
11 * Full author contact details are available in file CREDITS.
17 #include "ControlToc.h"
19 #include <QStandardItemModel>
20 #include <QStringListModel>
28 class QToc : public ControlToc
42 QStandardItemModel * tocModel();
43 QStandardItemModel * setTocModel(int type);
45 QStringListModel * typeModel()
46 { return &type_model_; }
49 QModelIndex const getCurrentIndex();
51 void goTo(QModelIndex const & index);
57 std::vector<TocModel *> toc_models_;
59 QStringListModel type_model_;
65 } // namespace frontend