]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/FormVCLog.h
1fc349650ff58eca7c9f8f906a9d0a8df8beda55
[lyx.git] / src / frontends / kde / FormVCLog.h
1 /**
2  * \file FormVCLog.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon
7  */
8
9  
10 #ifndef FORMVCLOG_H
11 #define FORMVCLOG_H
12
13 #include "DialogBase.h"
14 #include "LString.h"
15 #include "boost/utility.hpp"
16
17 class Dialogs;
18 class LyXView;
19 class LogDialog;
20
21 class FormVCLog : public DialogBase, public noncopyable {
22 public: 
23         FormVCLog(LyXView *, Dialogs *);
24
25         ~FormVCLog();
26
27         /// close the connections
28         virtual void close();
29         /// Update the dialog
30         virtual void update();
31         /// Update the dialog from slot
32         virtual void supdate(bool = false);
33  
34 protected: 
35         /// Create the dialog if necessary, update it and display it
36         virtual void show();
37         /// Hide the dialog
38         virtual void hide();
39
40         /// Real GUI implementation.
41         LogDialog * dialog_;
42
43         /// the LyXView we belong to
44         LyXView * lv_;
45  
46         /// the Dialogs object we belong to
47         Dialogs * d_;
48         
49         /// Hide connection.
50         Connection h_;
51         /// Update connection.
52         Connection u_;
53 };
54
55 #endif // FORMVCLOG_H