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