]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QBibtex.h
Lots and lots of little trivial bits.
[lyx.git] / src / frontends / qt2 / 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_H
13 #define QBIBTEX_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20
21 class ControlBibtex;
22 class QBibtexDialog;
23
24 class QBibtex :
25         public Qt2CB<ControlBibtex, Qt2DB<QBibtexDialog> >
26 {
27         friend class QBibtexDialog;
28
29 public:
30         QBibtex();
31
32 protected:
33         virtual bool isValid();
34
35 private:
36         /// Apply changes
37         virtual void apply();
38         /// update
39         virtual void update_contents();
40         /// build the dialog
41         virtual void build_dialog();
42 };
43
44 #endif // QBIBTEX_H