]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QLog.h
No longer pass Controller & or Dialogs & to the View c-tors.
[lyx.git] / src / frontends / qt2 / QLog.h
1 // -*- C++ -*-
2 /**
3  * \file QLog.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 QLOG_H
11 #define QLOG_H
12
13 #ifdef __GNUG__
14 #pragma interface
15 #endif
16
17 #include "Qt2Base.h"
18
19 class ControlLog;
20 class QLogDialog;
21
22 ///
23 class QLog
24         : public Qt2CB<ControlLog, Qt2DB<QLogDialog> >
25 {
26 public:
27         ///
28         friend class QLogDialog;
29         ///
30         QLog();
31
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 // QLOG_H