]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
port the various dialogs to display the contents of an external file to the new Dialo...
[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::showForks()
25 {}
26
27
28 void Dialogs::showMathPanel()
29 {
30         // FIXME FIXME FIXME
31         extern void createMathPanel();
32
33         createMathPanel();
34 }
35
36
37 void Dialogs::showPreamble()
38 {
39         // FIXME
40 }
41
42
43 void Dialogs::showPreferences()
44 {
45         pimpl_->prefs.controller().show();
46 }
47
48
49 void Dialogs::showPrint()
50 {
51         pimpl_->print.controller().show();
52 }
53
54
55 void Dialogs::showSearch()
56 {
57         pimpl_->search.controller().show();
58 }
59
60
61 void Dialogs::showSendto()
62 {
63         pimpl_->sendto.controller().show();
64 }
65
66
67 void Dialogs::showSpellchecker()
68 {
69         pimpl_->spellchecker.controller().show();
70 }
71
72
73 void Dialogs::showTexinfo()
74 {
75         pimpl_->texinfo.controller().show();
76 }
77
78
79 #ifdef HAVE_LIBAIKSAURUS
80
81 void Dialogs::showThesaurus(string const & s)
82 {
83         pimpl_->thesaurus.controller().showEntry(s);
84 }
85
86 #else
87
88 void Dialogs::showThesaurus(string const &)
89 {}
90
91 #endif