]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QError.h
No longer pass Controller & or Dialogs & to the View c-tors.
[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
19 class QError :
20         public Qt2CB<ControlError, Qt2DB<QErrorDialog> >
21 {
22         friend class QErrorDialog;
23
24 public:
25         QError();
26
27 private:
28         /// Apply changes
29         virtual void apply() {};
30         /// update
31         virtual void update_contents();
32         /// build the dialog
33         virtual void build_dialog();
34 };
35
36 #endif // QERROR_H