]> git.lyx.org Git - features.git/blob - src/frontends/kde/FormCopyright.h
make doc++ able to generate the source documentation for lyx
[features.git] / src / frontends / kde / FormCopyright.h
1 /***************************************************************************
2                           formcopyright.h  -  description
3                              -------------------
4     begin                : Thu Feb 3 2000
5     copyright            : (C) 2000 by Jürgen Vigna
6     email                : jug@sad.it
7  ***************************************************************************/
8
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17
18 #ifndef FORMCOPYRIGHT_H
19 #define FORMCOPYRIGHT_H
20
21 #include "DialogBase.h"
22
23
24 class Dialogs;
25 class LyXFunc;
26 class FormCopyrightDialog;
27
28 /**
29   @author Jürgen Vigna
30   */
31 class FormCopyright : public DialogBase  {
32 public: 
33         FormCopyright(LyXFunc *, Dialogs *);
34         ~FormCopyright();
35
36 private: 
37         /// Create the dialog if necessary, update it and display it.
38         void show();
39         /// Hide the dialog.
40         void hide();
41         /// Not used but we've got to implement it.
42         void update() {}
43
44         /// Real GUI implementation.
45         FormCopyrightDialog * dialog_;
46         /** Which LyXFunc do we use?
47             We could modify Dialogs to have a visible LyXFunc* instead and
48             save a couple of bytes per dialog.
49         */
50         LyXFunc * lf_;
51         /** Which Dialogs do we belong to?
52             Used so we can get at the signals we have to connect to.
53         */
54         Dialogs * d_;
55         /// Hide connection.
56         SigC::Connection h_;
57 };
58
59 #endif