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