- /// Test if outlining operation is possible
- bool canOutline(int type) const;
-
- QStandardItemModel * tocModel(int type);
- ///
- QModelIndex currentIndex(int type) const;
- ///
- void goTo(int type, QModelIndex const & index);
- ///
- int getType();
- ///
- int getTocDepth(int type);
-
-Q_SIGNALS:
- /// Signal that the internal toc_models_ has been reset.
- void modelReset();
-
-private:
- ///
- TocWidget * widget_;
- ///
- std::vector<TocModel *> toc_models_;
- ///
- void clearTocModels();
+ void enableView(bool enable);
+ bool wantInitialFocus() const { return false; }
+ void closeEvent(QCloseEvent * event);
+ bool isClosing() const { return is_closing_; }