]> git.lyx.org Git - lyx.git/blob - src/frontends/kde/FormCopyright.h
Baruch's graphics-patch + minipage-support in tabular-cells.
[lyx.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   *@author Jürgen Vigna
25   */
26
27 class Dialogs;
28 class LyXFunc;
29 class FormCopyrightDialog;
30
31 class FormCopyright : public DialogBase  {
32 public: 
33         FormCopyright(LyXFunc *, Dialogs *);
34         ~FormCopyright();
35
36 private: 
37         /**@name Slot Methods */
38         //@{
39         /// Create the dialog if necessary, update it and display it.
40         void show();
41         /// Hide the dialog.
42         void hide();
43         /// Not used but we've got to implement it.
44         void update() {}
45         //@}
46
47         /**@name Private Data */
48         //@{
49         /// Real GUI implementation.
50         FormCopyrightDialog * dialog_;
51         /** Which LyXFunc do we use?
52             We could modify Dialogs to have a visible LyXFunc* instead and
53             save a couple of bytes per dialog.
54         */
55         LyXFunc * lf_;
56         /** Which Dialogs do we belong to?
57             Used so we can get at the signals we have to connect to.
58         */
59         Dialogs * d_;
60         /// Hide connection.
61         SigC::Connection h_;
62         //@}
63 };
64
65 #endif