]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTocDialog.h
Lots and lots of little trivial bits.
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ui/QTocDialogBase.h"
20
21 class QToc;
22
23 class QTocDialog : public QTocDialogBase
24 { Q_OBJECT
25
26 public:
27         QTocDialog(QToc * form);
28         ~QTocDialog();
29
30 public slots:
31         void activate_adaptor(int);
32         void depth_adaptor(int);
33         void select_adaptor(QListViewItem *);
34         void update_adaptor();
35
36 protected:
37         void closeEvent(QCloseEvent * e);
38
39 private:
40         QToc * form_;
41 };
42
43 #endif // QTOCDIALOG_H