]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QError.h
ws cleanup
[lyx.git] / src / frontends / qt2 / QError.h
1 // -*- C++ -*-
2 /**
3  * \file QError.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon <moz@compsoc.man.ac.uk>
8  */
9
10 #ifndef QERROR_H
11 #define QERROR_H
12
13 #include "Qt2Base.h"
14
15 class ControlError;
16 class QErrorDialog;
17
18 class QError :
19         public Qt2CB<ControlError, Qt2DB<QErrorDialog> >
20 {
21         friend class QErrorDialog;
22
23 public:
24         QError(ControlError &);
25
26 private:
27         /// Apply changes
28         virtual void apply() {};
29         /// update
30         virtual void update_contents();
31         /// build the dialog
32         virtual void build_dialog();
33 };
34
35 #endif // QERROR_H