Bakery::Conf::AssociationBase Class Reference

Provides behaviors that are common to all widget/key associations. More...

#include <AssociationBase.h>

Inheritance diagram for Bakery::Conf::AssociationBase:

Inheritance graph
[legend]

List of all members.

Public Types

typedef sharedptr
< AssociationBase
AssociationPtr
typedef sharedptr< const
AssociationBase
AssociationConstPtr

Public Member Functions

void add (const Glib::RefPtr< Gnome::Conf::Client > &conf_client)
void load (std::auto_ptr< Glib::Error > &error)
void save (std::auto_ptr< Glib::Error > &error)
virtual ~AssociationBase ()

Protected Types

typedef sigc::slot< void > Callback

Protected Member Functions

 AssociationBase (const Glib::ustring &full_key, bool instant)
 AssociationBase (const AssociationBase &other)
bool is_instant () const
Glib::ustring get_key () const
Glib::RefPtr< const
Gnome::Conf::Client > 
get_conf_client () const
Glib::RefPtr< Gnome::Conf::Client > get_conf_client ()
virtual void connect_widget (Callback on_widget_changed)=0
virtual void load_widget (std::auto_ptr< Glib::Error > &error)=0
virtual void save_widget (std::auto_ptr< Glib::Error > &error)=0
void on_widget_changed ()
void on_conf_changed (guint cnxn_id, Gnome::Conf::Entry entry)

Protected Attributes

Glib::ustring m_key
bool m_instant
Glib::RefPtr< Gnome::Conf::Client > m_conf_client


Detailed Description

Provides behaviors that are common to all widget/key associations.

Member Typedef Documentation

typedef sigc::slot<void> Bakery::Conf::AssociationBase::Callback [protected]


Constructor & Destructor Documentation

virtual Bakery::Conf::AssociationBase::~AssociationBase (  )  [virtual]

Bakery::Conf::AssociationBase::AssociationBase ( const Glib::ustring &  full_key,
bool  instant 
) [protected]

Bakery::Conf::AssociationBase::AssociationBase ( const AssociationBase other  )  [protected]


Member Function Documentation

void Bakery::Conf::AssociationBase::add ( const Glib::RefPtr< Gnome::Conf::Client > &  conf_client  ) 

void Bakery::Conf::AssociationBase::load ( std::auto_ptr< Glib::Error > &  error  ) 

void Bakery::Conf::AssociationBase::save ( std::auto_ptr< Glib::Error > &  error  ) 

bool Bakery::Conf::AssociationBase::is_instant (  )  const [protected]

Glib::ustring Bakery::Conf::AssociationBase::get_key (  )  const [protected]

Glib::RefPtr<const Gnome::Conf::Client> Bakery::Conf::AssociationBase::get_conf_client (  )  const [protected]

Glib::RefPtr<Gnome::Conf::Client> Bakery::Conf::AssociationBase::get_conf_client (  )  [protected]

virtual void Bakery::Conf::AssociationBase::connect_widget ( Callback  on_widget_changed  )  [protected, pure virtual]

virtual void Bakery::Conf::AssociationBase::load_widget ( std::auto_ptr< Glib::Error > &  error  )  [protected, pure virtual]

virtual void Bakery::Conf::AssociationBase::save_widget ( std::auto_ptr< Glib::Error > &  error  )  [protected, pure virtual]

void Bakery::Conf::AssociationBase::on_widget_changed (  )  [protected]

void Bakery::Conf::AssociationBase::on_conf_changed ( guint  cnxn_id,
Gnome::Conf::Entry  entry 
) [protected]


Member Data Documentation

Glib::ustring Bakery::Conf::AssociationBase::m_key [protected]

Glib::RefPtr<Gnome::Conf::Client> Bakery::Conf::AssociationBase::m_conf_client [protected]


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

Generated on Tue Feb 19 03:18:02 2008 for bakery by  doxygen 1.5.5