#include "ControlUrl.h"
#include "GnomeBase.h"
-//#include <gnome--/dialog.h>
-namespace Gnome {
-class Dialog;
-}
-
namespace Gtk {
class Button;
class CheckButton;
~FormUrl();
void apply();
- void hide();
- void show();
void update();
private:
void RestoreClicked() { RestoreButton(); }
void InputChanged() { bc().valid(validate()); }
- /// Get the dialog
- Gnome::Dialog * dialog();
/// The url entry
Gtk::Entry * url() const;
/// The name entry
/// The restore button
Gtk::Button * restore_btn() const;
- // Hold the dialog.
- //boost::shared_ptr<Gnome::Dialog> dialog_;
- Gnome::Dialog * dialog_;
-
/// Keeps the connection to the input validator.
SigC::Connection slot_url_;
SigC::Connection slot_name_;