conexus logo

Conexus::Gtk::HostEntry Class Reference

TODO provide custom hostname lookups, kinda like DNS but for images. More...

#include <conexus-gtkmm/hostentry.h>

Inheritance diagram for Conexus::Gtk::HostEntry:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 HostEntry (unsigned validate=IPV4|IPV6)
 HostEntry (Conexus::IPv4::Address &address, unsigned validate=IPV4)
 HostEntry (Conexus::IPv6::Address &address, unsigned validate=IPV6)
 ~HostEntry ()
void set_hostname (std::string s)
::Gtk::ComboBoxEntryText & get_hostname_box ()
::Gtk::Image & get_good_hostname_image ()
::Gtk::Image & get_bad_hostname_image ()
std::string get_hostname ()
sigc::signal< void, bool > signal_host_changed ()
bool get_show_hostname_label ()
bool get_show_address_label ()
bool get_show_host_image ()
void set_show_hostname_label (bool show=true)
void set_show_address_label (bool show=true)
void set_show_host_image (bool show=true)

Protected Member Functions

virtual void on_hostname_changed ()
virtual void on_connect (Conexus::IPv4::Address &address)
virtual void on_connect (Conexus::IPv6::Address &address)
virtual void on_validate_type_changed ()

Protected Attributes

bool m_change_lock
std::set< std::string > m_host_names
sigc::connection m_address_connection
::Gtk::Label m_hostname_label
::Gtk::Label m_address_label
::Gtk::ComboBoxEntryText m_host
::Gtk::EventBox m_image_holder
::Gtk::Image m_good_host_image
::Gtk::Image m_bad_host_image
sigc::signal< void, bool > m_signal_host_changed

Private Member Functions

void setup_widget ()


Detailed Description

TODO provide custom hostname lookups, kinda like DNS but for images.

..

Author:
Rick L Vinyard Jr

Constructor & Destructor Documentation

Conexus::Gtk::HostEntry::HostEntry ( unsigned  validate = IPV4|IPV6  ) 

References setup_widget().

Conexus::Gtk::HostEntry::HostEntry ( Conexus::IPv4::Address &  address,
unsigned  validate = IPV4 
)

Conexus::Gtk::HostEntry::HostEntry ( Conexus::IPv6::Address &  address,
unsigned  validate = IPV6 
)

Conexus::Gtk::HostEntry::~HostEntry (  ) 


Member Function Documentation

Gtk::Image & Conexus::Gtk::HostEntry::get_bad_hostname_image (  ) 

References m_bad_host_image.

Gtk::Image & Conexus::Gtk::HostEntry::get_good_hostname_image (  ) 

References m_good_host_image.

std::string Conexus::Gtk::HostEntry::get_hostname (  ) 

Gtk::ComboBoxEntryText & Conexus::Gtk::HostEntry::get_hostname_box (  ) 

References m_host.

bool Conexus::Gtk::HostEntry::get_show_address_label (  ) 

References m_address_label.

bool Conexus::Gtk::HostEntry::get_show_host_image (  ) 

References m_image_holder.

bool Conexus::Gtk::HostEntry::get_show_hostname_label (  ) 

References m_hostname_label.

void Conexus::Gtk::HostEntry::on_connect ( Conexus::IPv6::Address &  address  )  [protected, virtual]

Reimplemented from Conexus::Gtk::AddressContainer.

References get_hostname().

void Conexus::Gtk::HostEntry::on_connect ( Conexus::IPv4::Address &  address  )  [protected, virtual]

Reimplemented from Conexus::Gtk::AddressContainer.

References get_hostname().

void Conexus::Gtk::HostEntry::on_hostname_changed (  )  [protected, virtual]

void Conexus::Gtk::HostEntry::on_validate_type_changed (  )  [protected, virtual]

Reimplemented from Conexus::Gtk::AddressContainer.

References on_hostname_changed().

void Conexus::Gtk::HostEntry::set_hostname ( std::string  s  ) 

void Conexus::Gtk::HostEntry::set_show_address_label ( bool  show = true  ) 

References m_address_label.

void Conexus::Gtk::HostEntry::set_show_host_image ( bool  show = true  ) 

References m_image_holder.

void Conexus::Gtk::HostEntry::set_show_hostname_label ( bool  show = true  ) 

References m_hostname_label.

void Conexus::Gtk::HostEntry::setup_widget (  )  [private]

sigc::signal< void, bool > Conexus::Gtk::HostEntry::signal_host_changed (  ) 


Member Data Documentation

sigc::connection Conexus::Gtk::HostEntry::m_address_connection [protected]

::Gtk::Label Conexus::Gtk::HostEntry::m_address_label [protected]

::Gtk::ComboBoxEntryText Conexus::Gtk::HostEntry::m_host [protected]

std::set<std::string> Conexus::Gtk::HostEntry::m_host_names [protected]

::Gtk::EventBox Conexus::Gtk::HostEntry::m_image_holder [protected]

sigc::signal<void, bool> Conexus::Gtk::HostEntry::m_signal_host_changed [protected]


The documentation for this class was generated from the following files:

Generated on Tue Mar 3 09:48:15 2009 for conexus-gtkmm by doxygen 1.5.7.1