#include "Toc.h"
-#include "support/shared_ptr.h"
-
#include <QHash>
#include <QSortFilterProxyModel>
///
TocModel(QObject * parent);
///
- void reset(shared_ptr<Toc const>);
+ void reset(std::shared_ptr<Toc const>);
///
void reset();
///
///
void populate(unsigned int & index, QModelIndex const & parent);
///
+ void setString(TocItem const & item, QModelIndex index);
+ ///
TocTypeModel * model_;
///
QSortFilterProxyModel * sorted_model_;
///
bool is_sorted_;
///
- shared_ptr<Toc const> toc_;
+ std::shared_ptr<Toc const> toc_;
///
int maxdepth_;
///