]> git.lyx.org Git - features.git/blob - src/frontends/xforms/Dialogs.C
*duck*
[features.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  */
9
10 #include <config.h>
11
12 #ifdef __GNUG__
13 #pragma implementation
14 #endif
15
16 #include "Dialogs.h"
17 #include "Tooltips.h"
18
19 LyXView * dialogs_lyxview;
20
21
22 /// Are the tooltips on or off?
23 bool Dialogs::tooltipsEnabled()
24 {
25         return Tooltips::enabled();
26 }
27
28
29 Dialogs::Dialogs(LyXView * lv)
30 {
31 #if 1
32         dialogs_lyxview = lv;
33 #endif
34         // reduce the number of connections needed in
35         // dialogs by a simple connection here.
36         hideAll.connect(hideBufferDependent);
37 }