]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QBibtex.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QBibtex.h
1 // -*- C++ -*-
2 /**
3  * \file QBibtex.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 QBIBTEX_CONTROLLER_H
13 #define QBIBTEX_CONTROLLER_H
14
15 #include "QDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlBibtex;
21 class QBibtexDialog;
22
23 class QBibtex
24         : public QController<ControlBibtex, QView<QBibtexDialog> >
25 {
26 public:
27         friend class QBibtexDialog;
28
29         QBibtex(Dialog &);
30 protected:
31         virtual bool isValid();
32 private:
33         /// Apply changes
34         virtual void apply();
35         /// update
36         virtual void update_contents();
37         /// build the dialog
38         virtual void build_dialog();
39 };
40
41 } // namespace frontend
42 } // namespace lyx
43
44 #endif // QBIBTEX_H