]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QError.h
better selection and scrolling behaviour
[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 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20
21 class ControlError;
22 class QErrorDialog;
23
24
25 class QError
26         : public Qt2CB<ControlError, Qt2DB<QErrorDialog> >
27 {
28 public:
29         friend class QErrorDialog;
30
31         QError();
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 #endif // QERROR_H