]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiHyperlink.h
Transfer some more dialog related code from core to frontend:
[lyx.git] / src / frontends / qt4 / GuiHyperlink.h
1 // -*- C++ -*-
2 /**
3  * \file GuiHyperlink.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef GUIHYPERLINK_H
14 #define GUIHYPERLINK_H
15
16 #include "GuiDialog.h"
17 #include "ui_HyperlinkUi.h"
18 #include "insets/InsetCommandParams.h"
19
20 namespace lyx {
21 namespace frontend {
22
23 class GuiHyperlink : public GuiCommand, public Ui::HyperlinkUi
24 {
25         Q_OBJECT
26
27 public:
28         GuiHyperlink(GuiView & lv);
29
30 public Q_SLOTS:
31         void changed_adaptor();
32
33 private:
34         void closeEvent(QCloseEvent *);
35         ///
36         bool isValid();
37         /// apply dialog
38         void applyView();
39         /// update dialog
40         void updateContents();
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif // GUIHYPERLINK_H