]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs.C
dont use pragma impementation and interface anymore
[lyx.git] / src / frontends / xforms / Dialogs.C
1 /**
2  * \file xforms/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
16 #include "Dialogs_impl.h"
17
18 Dialogs::Dialogs(LyXView & lv)
19         : pimpl_(new Impl(lv, *this))
20 {
21         // reduce the number of connections needed in
22         // dialogs by a simple connection here.
23         hideAll.connect(hideBufferDependent);
24 }
25
26
27 Dialogs::~Dialogs()
28 {}
29
30
31 void Dialogs::toggleTooltips()
32 {
33         Tooltips::toggleEnabled();
34 }
35
36
37 /// Are the tooltips on or off?
38 bool Dialogs::tooltipsEnabled()
39 {
40         return Tooltips::enabled();
41 }
42
43
44 Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
45         : aboutlyx(lv, d),
46           bibitem(lv, d),
47           bibtex(lv, d),
48           changes(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           wrap(lv, d)
84 {}