]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
Yesterday's character dialog patch
[lyx.git] / src / frontends / qt2 / Dialogs2.C
1 /**
2  * \file qt2/Dialogs2.C
3  * Copyright 1995 Matthias Ettrich
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Allan Rae
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #include <config.h>
14
15 #include "Dialogs_impl.h"
16
17
18 void Dialogs::showDocument()
19 {
20         pimpl_->document.controller().show();
21 }
22
23
24 void Dialogs::showFile(string const & f)
25 {
26         pimpl_->file.controller().showFile(f);
27 }
28
29
30 void Dialogs::showForks()
31 {}
32
33
34 void Dialogs::showLogFile()
35 {
36         pimpl_->logfile.controller().show();
37 }
38
39
40 void Dialogs::showMathPanel()
41 {
42         // FIXME FIXME FIXME
43         extern void createMathPanel();
44
45         createMathPanel();
46 }
47
48
49 void Dialogs::showParagraph()
50 {
51         pimpl_->paragraph.controller().show();
52 }
53
54
55 void Dialogs::updateParagraph()
56 {
57         pimpl_->paragraph.controller().changedParagraph();
58 }
59
60
61 void Dialogs::showPreamble()
62 {
63         // FIXME
64 }
65
66
67 void Dialogs::showPreferences()
68 {
69         pimpl_->prefs.controller().show();
70 }
71
72
73 void Dialogs::showPrint()
74 {
75         pimpl_->print.controller().show();
76 }
77
78
79 void Dialogs::showSearch()
80 {
81         pimpl_->search.controller().show();
82 }
83
84
85 void Dialogs::showSendto()
86 {
87         pimpl_->sendto.controller().show();
88 }
89
90
91 void Dialogs::showSpellchecker()
92 {
93         pimpl_->spellchecker.controller().show();
94 }
95
96
97 void Dialogs::showTexinfo()
98 {
99         pimpl_->texinfo.controller().show();
100 }
101
102
103 #ifdef HAVE_LIBAIKSAURUS
104
105 void Dialogs::showThesaurus(string const & s)
106 {
107         pimpl_->thesaurus.controller().showEntry(s);
108 }
109
110 #else
111
112 void Dialogs::showThesaurus(string const &)
113 {}
114
115 #endif
116
117
118 void Dialogs::showVCLogFile()
119 {
120         pimpl_->vclogfile.controller().show();
121 }