]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs.C
Really dull and boring header shit
[lyx.git] / src / frontends / xforms / Dialogs.C
1 /**
2  * \file xforms/Dialogs.C
3  * Copyright 1995 Matthias Ettrich
4  * See the file COPYING.
5  *
6  * \author Allan Rae
7  * \author Angus Leeming 
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #include <config.h>
13
14 #ifdef __GNUG__
15 #pragma implementation
16 #endif
17
18 #include "Dialogs_impl.h"
19
20 Dialogs::Dialogs(LyXView & lv)
21         : pimpl_(new Impl(lv, *this))
22 {
23         // reduce the number of connections needed in
24         // dialogs by a simple connection here.
25         hideAll.connect(hideBufferDependent);
26 }
27
28
29 Dialogs::~Dialogs()
30 {}
31
32
33 void Dialogs::toggleTooltips()
34 {
35         Tooltips::toggleEnabled();
36 }
37
38
39 /// Are the tooltips on or off?
40 bool Dialogs::tooltipsEnabled()
41 {
42         return Tooltips::enabled();
43 }
44
45
46 Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
47         : aboutlyx(lv, d),
48           bibitem(lv, d),
49           bibtex(lv, d),
50           character(lv, d),
51           citation(lv, d),
52           document(lv, d),
53           error(lv, d),
54           ert(lv, d),
55           external(lv, d),
56           file(lv, d),
57           floats(lv, d),
58           forks(lv, d),
59           graphics(lv, d),
60           include(lv, d),
61           index(lv, d),
62           logfile(lv, d),
63           mathpanel(lv, d),
64           minipage(lv, d),
65           paragraph(lv, d),
66           preamble(lv, d),
67           preferences(lv, d),
68           print(lv, d),
69           ref(lv, d),
70           search(lv, d),
71           sendto(lv, d),
72           spellchecker(lv, d),
73           tabular(lv, d),
74           tabularcreate(lv, d),
75           texinfo(lv, d),
76
77 #ifdef HAVE_LIBAIKSAURUS
78           thesaurus(lv, d),
79 #endif
80
81           toc(lv, d),
82           url(lv, d),
83           vclogfile(lv, d)
84 {}