#ifndef GUITOC_H
#define GUITOC_H
-#include "GuiDialog.h"
#include "ControlToc.h"
#include <QObject>
class TocModel;
-class GuiToc : public GuiDialog
+class GuiToc : public QObject, public ControlToc
{
Q_OBJECT
public:
///
- GuiToc(LyXView & lv);
+ GuiToc(Dialog &);
/// \c ControlToc inherited method.
virtual bool initialiseParams(std::string const & data);
///
int getTocDepth(int type);
- ControlToc & controller() const;
-
Q_SIGNALS:
/// Signal that the internal toc_models_ has been reset.
void modelReset();