]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QTocDialog.h
Some string(widget->text()) fixes. Weirdness
[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 public:
26         QTocDialog(QToc * form);
27         ~QTocDialog();
28 public slots:
29         void activate_adaptor(int);
30         void depth_adaptor(int);
31         void select_adaptor(QListViewItem *);
32         void update_adaptor();
33 protected:
34         void closeEvent(QCloseEvent * e);
35 private:
36         QToc * form_;
37 };
38
39 #endif // QTOCDIALOG_H