Logo Search packages:      
Sourcecode: inkscape version File versions

Inkscape::Preferences::Observer Class Reference

#include <preferences.h>

Inheritance diagram for Inkscape::Preferences::Observer:

Inkscape::UI::Widget::StyleSwatch::StyleObserver Inkscape::UI::Widget::StyleSwatch::StyleObserver Inkscape::UI::Widget::StyleSwatch::ToolObserver Inkscape::UI::Widget::StyleSwatch::ToolObserver MaxRecentObserver MaxRecentObserver ToolPrefObserver ToolPrefObserver

List of all members.


Detailed Description

Base class for preference observers.

If you want to watch for changes in the preferences, you'll have to derive a class from this one and override the notify() method.

Definition at line 71 of file preferences.h.


Public Member Functions

virtual void notify (Preferences::Entry const &new_val)=0
 Notification about a preference change.
virtual void notify (Preferences::Entry const &new_val)=0
 Notification about a preference change.
 Observer (Glib::ustring const &path)
 Constructor.
 Observer (Glib::ustring const &path)
 Constructor.

Public Attributes

Glib::ustring const observed_path
 Path which the observer watches.

Private Attributes

void * _data
 additional data used by the implementation while the observer is active

Friends

class Preferences

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

Generated by  Doxygen 1.6.0   Back to index