]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
Qt2 compiles again and in about half the time of xforms.
[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::showMinipage(InsetMinipage * im)
136 {
137         pimpl_->minipage.controller().showInset(im);
138 }
139
140
141 void Dialogs::updateMinipage(InsetMinipage * im)
142 {
143         pimpl_->minipage.controller().showInset(im);
144 }
145
146
147 void Dialogs::showParagraph()
148 {
149         pimpl_->paragraph.controller().show();
150 }
151
152
153 void Dialogs::updateParagraph()
154 {
155         pimpl_->paragraph.controller().changedParagraph();
156 }
157
158
159 void Dialogs::showPreamble()
160 {
161         pimpl_->preamble.controller().show();
162 }
163
164
165 void Dialogs::showPreferences()
166 {}
167
168
169 void Dialogs::showPrint()
170 {
171         pimpl_->print.controller().show();
172 }
173
174
175 void Dialogs::showRef(InsetCommand * ic)
176 {
177         pimpl_->ref.controller().showInset(ic);
178 }
179
180
181 void Dialogs::createRef(string const & s)
182 {
183         pimpl_->ref.controller().createInset(s);
184 }
185
186
187 void Dialogs::showSearch()
188 {
189         pimpl_->search.controller().show();
190 }
191
192
193 void Dialogs::showSendto()
194 {}
195
196
197 void Dialogs::showSpellchecker()
198 {
199         pimpl_->spellchecker.controller().show();
200 }
201
202
203 void Dialogs::showTabular(InsetTabular * it)
204 {}
205
206
207 void Dialogs::updateTabular(InsetTabular * it)
208 {}
209
210
211 void Dialogs::showTabularCreate()
212 {
213         pimpl_->tabularcreate.controller().show();
214 }
215
216
217 void Dialogs::showTexinfo()
218 {
219         pimpl_->texinfo.controller().show();
220 }
221
222
223 #ifdef HAVE_LIBAIKSAURUS
224
225 void Dialogs::showThesaurus(string const & s)
226 {
227         pimpl_->thesaurus.controller().showEntry(s);
228 }
229
230 #else
231
232 void Dialogs::showThesaurus(string const &)
233 {}
234
235 #endif
236
237
238 void Dialogs::showTOC(InsetCommand * ic)
239 {
240         pimpl_->toc.controller().showInset(ic);
241 }
242
243
244 void Dialogs::createTOC(string const & s)
245 {
246         pimpl_->toc.controller().createInset(s);
247 }
248
249
250 void Dialogs::showUrl(InsetCommand * ic)
251 {
252         pimpl_->url.controller().showInset(ic);
253 }
254
255
256 void Dialogs::createUrl(string const & s)
257 {
258         pimpl_->url.controller().createInset(s);
259 }
260
261
262 void Dialogs::showVCLogFile()
263 {
264         pimpl_->vclogfile.controller().show();
265 }