bakery 2.6
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

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)
virtual void Bakery::Conf::AssociationBase::connect_widget ( Callback  on_widget_changed) [protected, pure virtual]
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]
Glib::ustring Bakery::Conf::AssociationBase::get_key ( ) const [protected]
bool Bakery::Conf::AssociationBase::is_instant ( ) const [protected]
void Bakery::Conf::AssociationBase::load ( std::auto_ptr< Glib::Error > &  error)
virtual void Bakery::Conf::AssociationBase::load_widget ( std::auto_ptr< Glib::Error > &  error) [protected, pure virtual]
void Bakery::Conf::AssociationBase::on_conf_changed ( guint  cnxn_id,
Gnome::Conf::Entry  entry 
) [protected]
void Bakery::Conf::AssociationBase::on_widget_changed ( ) [protected]
void Bakery::Conf::AssociationBase::save ( std::auto_ptr< Glib::Error > &  error)
virtual void Bakery::Conf::AssociationBase::save_widget ( std::auto_ptr< Glib::Error > &  error) [protected, pure virtual]

Member Data Documentation

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

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