]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QError.h
dont use pragma impementation and interface anymore
[lyx.git] / src / frontends / qt2 / QError.h
1 // -*- C++ -*-
2 /**
3  * \file QError.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 QERROR_H
13 #define QERROR_H
14
15
16 #include "Qt2Base.h"
17
18 class ControlError;
19 class QErrorDialog;
20
21
22 class QError
23         : public Qt2CB<ControlError, Qt2DB<QErrorDialog> >
24 {
25 public:
26         friend class QErrorDialog;
27
28         QError();
29 private:
30         /// Apply changes
31         virtual void apply() {}
32         /// update
33         virtual void update_contents();
34         /// build the dialog
35         virtual void build_dialog();
36 };
37
38 #endif // QERROR_H