]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QURL.h
Lots and lots of little trivial bits.
[lyx.git] / src / frontends / qt2 / QURL.h
1 // -*- C++ -*-
2 /**
3  * \file QURL.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 QURL_H
13 #define QURL_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "Qt2Base.h"
20
21 class ControlUrl;
22 class QURLDialog;
23
24
25 class QURL :
26         public Qt2CB<ControlUrl, Qt2DB<QURLDialog> >
27 {
28         friend class QURLDialog;
29 public:
30         QURL();
31
32 protected:
33         virtual bool isValid();
34
35 private:
36         /// apply dialog
37         virtual void apply();
38         /// build dialog
39         virtual void build_dialog();
40         /// update dialog
41         virtual void update_contents();
42 };
43
44 #endif // QURL_H