]> git.lyx.org Git - lyx.git/blob - src/frontends/qt3/QTocDialog.h
Extracted from r14281
[lyx.git] / src / frontends / qt3 / 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         ///
28         void enableButtons(bool enable = true);
29 public slots:
30         void activate_adaptor(int);
31         void depth_adaptor(int);
32         void select_adaptor(QListViewItem *);
33         void update_adaptor();
34         void moveup_adaptor();
35         void movedn_adaptor();
36         void movein_adaptor();
37         void moveout_adaptor();
38 protected:
39         void closeEvent(QCloseEvent * e);
40 private:
41         QToc * form_;
42 };
43
44 } // namespace frontend
45 } // namespace lyx
46
47 #endif // QTOCDIALOG_H