]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs.C
Use the same scheme as qt: vars not pointer to vars.
[lyx.git] / src / frontends / xforms / Dialogs.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 Dialogs::Dialogs(LyXView & lv)
20         : pimpl_(new Impl(lv, *this))
21 {
22         // reduce the number of connections needed in
23         // dialogs by a simple connection here.
24         hideAll.connect(hideBufferDependent);
25 }
26
27
28 Dialogs::~Dialogs()
29 {}
30
31
32 void Dialogs::toggleTooltips()
33 {
34         Tooltips::toggleEnabled();
35 }
36
37
38 /// Are the tooltips on or off?
39 bool Dialogs::tooltipsEnabled()
40 {
41         return Tooltips::enabled();
42 }
43
44
45 Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
46         : aboutlyx(lv, d),
47           bibitem(lv, d),
48           bibtex(lv, d),
49           character(lv, d),
50           citation(lv, d),
51           document(lv, d),
52           error(lv, d),
53           ert(lv, d),
54           external(lv, d),
55           file(lv, d),
56           floats(lv, d),
57           forks(lv, d),
58           graphics(lv, d),
59           include(lv, d),
60           index(lv, d),
61           logfile(lv, d),
62           mathpanel(lv, d),
63           minipage(lv, d),
64           paragraph(lv, d),
65           preamble(lv, d),
66           preferences(lv, d),
67           print(lv, d),
68           ref(lv, d),
69           search(lv, d),
70           sendto(lv, d),
71           spellchecker(lv, d),
72           tabular(lv, d),
73           tabularcreate(lv, d),
74           texinfo(lv, d),
75
76 #ifdef HAVE_LIBAIKSAURUS
77           thesaurus(lv, d),
78 #endif
79
80           toc(lv, d),
81           url(lv, d),
82           vclogfile(lv, d)
83 {}