3 * John Levon, moz@compsoc.man.ac.uk
6 /***************************************************************************
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
13 ***************************************************************************/
18 #include "DialogBase.h"
20 #include "boost/utility.hpp"
21 #include "insets/inseturl.h"
27 class FormUrl : public DialogBase, public noncopyable {
29 /**@name Constructors and Destructors */
32 FormUrl(LyXView *, Dialogs *);
39 /// close the connections
43 /// Create the dialog if necessary, update it and display it.
47 /// Update the dialog.
50 /// create a URL inset
51 void createUrl(string const &);
53 void showUrl(InsetCommand * const);
55 /// Real GUI implementation.
56 FormUrlDialog * dialog_;
58 /// the LyXView we belong to
61 /** Which Dialogs do we belong to?
62 Used so we can get at the signals we have to connect to.
65 /// pointer to the inset if any
66 InsetCommand * inset_;
68 InsetCommandParams params;
69 /// is the inset we are reading from a readonly buffer
74 /// Update connection.
76 /// Inset hide connection.