]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/FormParagraph.h
Removed an incorrect assert in GraphicsCache.
[lyx.git] / src / frontends / kde / FormParagraph.h
1 /**
2  * \file FormParagraph.h
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  * \author John Levon
7  */
8
9 #ifndef FORMPARAGRAPH_H
10 #define FORMPARAGRAPH_H
11
12 #include "DialogBase.h"
13 #include "LString.h"
14 #include "boost/utility.hpp"
15
16 class Dialogs;
17 class LyXView;
18 class ParaDialog;
19
20 class FormParagraph : public DialogBase, public noncopyable {
21 public: 
22         FormParagraph(LyXView *, Dialogs *);
23
24         ~FormParagraph();
25
26         /// Apply changes
27         void apply();
28         /// Update the dialog.
29         void update(bool switched = false);
30         /// close the connections
31         void close();
32  
33 private: 
34         /// Create the dialog if necessary, update it and display it.
35         void show();
36         /// Hide the dialog.
37         void hide();
38
39         /// Real GUI implementation.
40         ParaDialog * dialog_;
41
42         /// the LyXView we belong to
43         LyXView * lv_;
44  
45         /// Used so we can get at the signals we have to connect to.
46         Dialogs * d_;
47         
48         /// Hide connection.
49         Connection h_;
50         
51         /// readonly file or not
52         bool readonly; 
53 };
54
55 #endif // FORMPARAGRAPH_H