]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTocDialog.h
ws cleanup
[lyx.git] / src / frontends / qt2 / QTocDialog.h
1 /**
2  * \file QTocDialog.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon <moz@compsoc.man.ac.uk>
7  */
8
9 #ifndef QTOCDIALOG_H
10 #define QTOCDIALOG_H
11
12 #include "ui/QTocDialogBase.h"
13
14 class QToc;
15
16 class QTocDialog : public QTocDialogBase
17 { Q_OBJECT
18
19 public:
20         QTocDialog(QToc * form);
21         ~QTocDialog();
22
23 public slots:
24         void activate_adaptor(int);
25         void depth_adaptor(int);
26         void select_adaptor(QListViewItem *);
27         void update_adaptor();
28
29 protected:
30         void closeEvent(QCloseEvent * e);
31
32 private:
33         QToc * form_;
34 };
35
36 #endif // QTOCDIALOG_H