///
TocModels(): bv_(0) {}
///
- TocModels::~TocModels() { clear(); }
+ ~TocModels() { clear(); }
///
void reset(BufferView const * bv);
///
///
QStandardItemModel * model(int type);
///
- QModelIndex TocModels::currentIndex(int type) const;
+ QModelIndex currentIndex(int type) const;
///
void goTo(int type, QModelIndex const & index) const;
///
- void TocModels::init(Buffer const & buffer);
+ void init(Buffer const & buffer);
/// Test if outlining operation is possible
bool canOutline(int type) const;
/// Return the list of types available
private:
///
void clear();
- /// Return the guiname from a given cmdName of the TOC param
- QString guiName(std::string const & type) const;
///
BufferView const * bv_;
///