]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QDocument.h
Brand new qt document dialog. Not finished yet though. TODO is updated and lists
[lyx.git] / src / frontends / qt2 / QDocument.h
1 // -*- C++ -*-
2 /**
3  * \file QDocument.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12
13 #ifndef QDOCUMENT_H
14 #define QDOCUMENT_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "Qt2Base.h"
21 #include "Qt2BC.h"
22 //#include "QtLyXView.h"
23
24 #include <boost/scoped_ptr.hpp>
25
26 class ControlDocument;
27 class QDocumentDialog;
28
29 class QDocument
30         : public Qt2CB<ControlDocument, Qt2DB<QDocumentDialog> >
31 {
32 public:
33         ///
34         QDocument();
35         ///
36         friend class QDocumentDialog;
37 private:
38         /// Apply changes
39         void apply();
40         /// update
41         void update_contents();
42         /// build the dialog
43         void build_dialog();
44         ///
45         std::vector<string> lang_;
46 };
47
48
49 #endif // QDOCUMENT_H