]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/UrlView.h
ccd6240b66c67117432450d6a54d7fcf138d33f1
[lyx.git] / src / frontends / qt4 / UrlView.h
1 // -*- C++ -*-
2 /**
3  * \file UrlView.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  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QT4_URL_VIEW_H
13 #define QT4_URL_VIEW_H
14
15 #include "QDialogView.h"
16 #include "QURLDialog.h"
17
18 namespace lyx {
19 namespace frontend {
20
21 class ControlCommand;
22
23 class UrlView :
24         public QController<ControlCommand, QView<QURLDialog> >
25 {
26 public:
27         friend class QURLDialog;
28         UrlView(Dialog &);
29 protected:
30         virtual bool isValid();
31 private:
32         /// apply dialog
33         virtual void apply();
34         /// build dialog
35         virtual void build_dialog();
36         /// update dialog
37         virtual void update_contents();
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QT4_URL_VIEW_H