]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTocDialog.h
some tabular fixes for the problems reported by Helge
[lyx.git] / src / frontends / qt2 / QTocDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QTocDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QTOCDIALOG_H
13 #define QTOCDIALOG_H
14
15 #include "ui/QTocDialogBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class QToc;
21
22 class QTocDialog : public QTocDialogBase {
23         Q_OBJECT
24 public:
25         QTocDialog(QToc * form);
26         ~QTocDialog();
27 public slots:
28         void activate_adaptor(int);
29         void depth_adaptor(int);
30         void select_adaptor(QListViewItem *);
31         void update_adaptor();
32 protected:
33         void closeEvent(QCloseEvent * e);
34 private:
35         QToc * form_;
36 };
37
38 } // namespace frontend
39 } // namespace lyx
40
41 #endif // QTOCDIALOG_H