]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiToc.h
some remnaming
[lyx.git] / src / frontends / qt4 / GuiToc.h
index 027910e5746cd10b2b564178a4faa77a861212af..ac40c2fdae8c3c3ba755ca426dc8e292d1b0718f 100644 (file)
@@ -14,7 +14,6 @@
 #ifndef GUITOC_H
 #define GUITOC_H
 
-#include "GuiDialog.h"
 #include "ControlToc.h"
 
 #include <QObject>
@@ -26,13 +25,13 @@ namespace frontend {
 
 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);
@@ -51,8 +50,6 @@ public:
        ///
        int getTocDepth(int type);
 
-       ControlToc & controller() const;
-
 Q_SIGNALS:
        /// Signal that the internal toc_models_ has been reset.
        void modelReset();