]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QBibitem.h
Some string(widget->text()) fixes. Weirdness
[lyx.git] / src / frontends / qt2 / QBibitem.h
1 // -*- C++ -*-
2 /**
3  * \file QBibitem.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 QBIBITEM_H
13 #define QBIBITEM_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20
21 class ControlBibitem;
22 class QBibitemDialog;
23
24 class QBibitem
25         : public Qt2CB<ControlBibitem, Qt2DB<QBibitemDialog> >
26 {
27 public:
28         friend class QBibitemDialog;
29
30         QBibitem();
31 protected:
32         virtual bool isValid();
33 private:
34         /// Apply changes
35         virtual void apply();
36         /// update
37         virtual void update_contents();
38         /// build the dialog
39         virtual void build_dialog();
40 };
41
42 #endif // QBIBITEM_H