]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs2.C
Use the same scheme as qt: vars not pointer to vars.
[lyx.git] / src / frontends / xforms / Dialogs2.C
1 /**
2  * \file xforms/Dialogs.C
3  * Copyright 1995 Matthias Ettrich
4  * Copyright 1995-2001 The LyX Team.
5  * See the file COPYING.
6  *
7  * \author Allan Rae, rae@lyx.org
8  * \author Angus Leeming <leeming@lyx.org>
9  */
10
11 #include <config.h>
12
13 #ifdef __GNUG__
14 #pragma implementation
15 #endif
16
17 #include "Dialogs_impl.h"
18
19
20 void Dialogs::showAboutlyx()
21 {
22         pimpl_->aboutlyx.controller().show();
23 }
24
25
26 void Dialogs::showBibitem(InsetCommand * ic)
27 {
28         pimpl_->bibitem.controller().showInset(ic);
29 }
30
31
32 void Dialogs::showBibtex(InsetCommand * ic)
33 {
34         pimpl_->bibtex.controller().showInset(ic);
35 }
36
37
38 void Dialogs::showCharacter()
39 {
40         pimpl_->character.controller().show();
41 }
42
43
44 void Dialogs::setUserFreeFont()
45 {
46         pimpl_->character.controller().apply();
47 }
48
49
50 void Dialogs::showCitation(InsetCommand * ic)
51 {
52         pimpl_->citation.controller().showInset(ic);
53 }
54
55
56 void Dialogs::createCitation(string const & s)
57 {
58         pimpl_->citation.controller().createInset(s);
59 }
60
61
62 void Dialogs::showDocument()
63 {
64         pimpl_->document.show();
65 }
66
67
68 void Dialogs::showError(InsetError * ie)
69 {
70         pimpl_->error.controller().showInset(ie);
71 }
72
73
74 void Dialogs::showERT(InsetERT * ie)
75 {
76         pimpl_->ert.controller().showInset(ie);
77 }
78
79
80 void Dialogs::updateERT(InsetERT * ie)
81 {
82         pimpl_->ert.controller().showInset(ie);
83 }
84
85
86 void Dialogs::showExternal(InsetExternal * ie)
87 {
88         pimpl_->external.controller().showInset(ie);
89 }
90
91
92 void Dialogs::showFile(string const & f)
93 {
94         pimpl_->file.controller().showFile(f);
95 }
96
97
98 void Dialogs::showFloat(InsetFloat * ifl)
99 {
100         pimpl_->floats.controller().showInset(ifl);
101 }
102
103
104 void Dialogs::showForks()
105 {
106         pimpl_->forks.controller().show();
107 }
108
109
110 void Dialogs::showGraphics(InsetGraphics * ig)
111 {
112         pimpl_->graphics.controller().showInset(ig);
113 }
114
115
116 void Dialogs::showInclude(InsetInclude * ii)
117 {
118         pimpl_->include.controller().showInset(ii);
119 }
120
121
122 void Dialogs::showIndex(InsetCommand * ic)
123 {
124         pimpl_->index.controller().showInset(ic);
125 }
126
127
128 void Dialogs::createIndex()
129 {
130         pimpl_->index.controller().createInset(string());
131 }
132
133
134 void Dialogs::showLogFile()
135 {
136         pimpl_->logfile.controller().show();
137 }
138
139
140 void Dialogs::showMathPanel()
141 {
142         pimpl_->mathpanel.show();
143 }
144
145
146 void Dialogs::showMinipage(InsetMinipage * im)
147 {
148         pimpl_->minipage.controller().showInset(im);
149 }
150
151
152 void Dialogs::updateMinipage(InsetMinipage * im)
153 {
154         pimpl_->minipage.controller().showInset(im);
155 }
156
157
158 void Dialogs::showParagraph()
159 {
160         pimpl_->paragraph.controller().show();
161 }
162
163
164 void Dialogs::updateParagraph()
165 {
166         pimpl_->paragraph.controller().changedParagraph();
167 }
168
169
170 void Dialogs::showPreamble()
171 {
172         pimpl_->preamble.controller().show();
173 }
174
175
176 void Dialogs::showPreferences()
177 {
178         pimpl_->preferences.show();
179 }
180
181
182 void Dialogs::showPrint()
183 {
184         pimpl_->print.controller().show();
185 }
186
187
188 void Dialogs::showRef(InsetCommand * ic)
189 {
190         pimpl_->ref.controller().showInset(ic);
191 }
192
193
194 void Dialogs::createRef(string const & s)
195 {
196         pimpl_->ref.controller().createInset(s);
197 }
198
199
200 void Dialogs::showSearch()
201 {
202         pimpl_->search.controller().show();
203 }
204
205
206 void Dialogs::showSendto()
207 {
208         pimpl_->sendto.controller().show();
209 }
210
211
212 void Dialogs::showSpellchecker()
213 {
214         pimpl_->spellchecker.controller().show();
215 }
216
217
218 void Dialogs::showTabular(InsetTabular * it)
219 {
220         pimpl_->tabular.showInset(it);
221 }
222
223
224 void Dialogs::updateTabular(InsetTabular * it)
225 {
226         pimpl_->tabular.updateInset(it);
227 }
228
229
230 void Dialogs::showTabularCreate()
231 {
232         pimpl_->tabularcreate.controller().show();
233 }
234
235
236 void Dialogs::showTexinfo()
237 {
238         pimpl_->texinfo.controller().show();
239 }
240
241
242 #ifdef HAVE_LIBAIKSAURUS
243
244 void Dialogs::showThesaurus(string const & s)
245 {
246         pimpl_->thesaurus.controller().showEntry(s);
247 }
248
249 #else
250
251 void Dialogs::showThesaurus(string const &)
252 {}
253
254 #endif
255
256
257 void Dialogs::showTOC(InsetCommand * ic)
258 {
259         pimpl_->toc.controller().showInset(ic);
260 }
261
262
263 void Dialogs::createTOC(string const & s)
264 {
265         pimpl_->toc.controller().createInset(s);
266 }
267
268
269 void Dialogs::showUrl(InsetCommand * ic)
270 {
271         pimpl_->url.controller().showInset(ic);
272 }
273
274
275 void Dialogs::createUrl(string const & s)
276 {
277         pimpl_->url.controller().createInset(s);
278 }
279
280
281 void Dialogs::showVCLogFile()
282 {
283         pimpl_->vclogfile.controller().show();
284 }