diff options
author | Murray Cumming <murrayc@usa.net> | 2003-11-01 17:01:02 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2003-11-01 17:01:02 +0000 |
commit | a86081587ca4aa8e090cffcc10dfe62412ed46b9 (patch) | |
tree | 73a8740f5d5c8d47e441f03b002b68801af7cb76 /glib/glibmm/propertyproxy_base.h | |
parent | fe56b08cc8158d4022c51265803fa32f22d6c4d0 (diff) | |
download | glibmm-a86081587ca4aa8e090cffcc10dfe62412ed46b9.tar.gz |
Now uses ObjectBase instead of Object, because glib can now have
2003-11-01 Murray Cumming <murrayc@usa.net>
* glib/glibmm/propertyproxy.h, propertyproxy_base.[h|cc]: Now uses
ObjectBase instead of Object, because glib can now have properties
on interfaces. This is needed, for instance, by the GtkFileChooser
interface wrapper in gtkmm.
* glib/glibmm/object.h: Moved get/set_property() methods into
ObjectBase, for the same reason.
* tools/pm/WrapParser.pm, Output.pm: Added optional no_default_handler
parameter to gmmproc _WRAP_SIGNAL() macro, for signals whose
default signal handler is not in the klass struct and therefore
can not be overridden.
Diffstat (limited to 'glib/glibmm/propertyproxy_base.h')
-rw-r--r-- | glib/glibmm/propertyproxy_base.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/glib/glibmm/propertyproxy_base.h b/glib/glibmm/propertyproxy_base.h index 5eb6d159..5174b93c 100644 --- a/glib/glibmm/propertyproxy_base.h +++ b/glib/glibmm/propertyproxy_base.h @@ -29,7 +29,7 @@ namespace Glib { -class Object; +class ObjectBase; /// Use the connect() method, with SigC::slot() to connect signals to signal handlers. class SignalProxyProperty : public SignalProxyBase @@ -56,13 +56,13 @@ private: class PropertyProxy_Base { public: - PropertyProxy_Base(Object* obj, const char* property_name); + PropertyProxy_Base(ObjectBase* obj, const char* property_name); PropertyProxy_Base(const PropertyProxy_Base& other); ///This signal will be emitted when the property changes. SignalProxyProperty signal_changed(); - Object* get_object() const { return obj_; } + ObjectBase* get_object() const { return obj_; } const char* get_name() const { return property_name_; } protected: @@ -70,11 +70,11 @@ protected: void get_property_(Glib::ValueBase& value) const; void reset_property_(); - Object* obj_; //The C++ wrapper instance of which this PropertyProxy is a member. + ObjectBase* obj_; //The C++ wrapper instance of which this PropertyProxy is a member. const char* property_name_; //Should be a static string literal. private: - // not implemented (for now) -- Why "for now"? I don't think it'll ever be needed. daniel. + //not implemented (for now) -- TODO: Why "for now"? I don't think it'll ever be needed. daniel. PropertyProxy_Base& operator=(const PropertyProxy_Base&); }; |