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