]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs2.C
You've had enough time for that ol' review and I've made sure that things
[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::showFile(string const & f)
25 {
26         pimpl_->file.controller().showFile(f);
27 }
28
29
30 void Dialogs::showForks()
31 {}
32
33
34 void Dialogs::showLogFile()
35 {
36         pimpl_->logfile.controller().show();
37 }
38
39
40 void Dialogs::showMathPanel()
41 {
42         // FIXME FIXME FIXME
43         extern void createMathPanel();
44
45         createMathPanel();
46 }
47
48
49 void Dialogs::showPreamble()
50 {
51         // FIXME
52 }
53
54
55 void Dialogs::showPreferences()
56 {
57         pimpl_->prefs.controller().show();
58 }
59
60
61 void Dialogs::showPrint()
62 {
63         pimpl_->print.controller().show();
64 }
65
66
67 void Dialogs::showSearch()
68 {
69         pimpl_->search.controller().show();
70 }
71
72
73 void Dialogs::showSendto()
74 {
75         pimpl_->sendto.controller().show();
76 }
77
78
79 void Dialogs::showSpellchecker()
80 {
81         pimpl_->spellchecker.controller().show();
82 }
83
84
85 void Dialogs::showTexinfo()
86 {
87         pimpl_->texinfo.controller().show();
88 }
89
90
91 #ifdef HAVE_LIBAIKSAURUS
92
93 void Dialogs::showThesaurus(string const & s)
94 {
95         pimpl_->thesaurus.controller().showEntry(s);
96 }
97
98 #else
99
100 void Dialogs::showThesaurus(string const &)
101 {}
102
103 #endif
104
105
106 void Dialogs::showVCLogFile()
107 {
108         pimpl_->vclogfile.controller().show();
109 }