summaryrefslogtreecommitdiffstats
path: root/src/libs/client/ObjectModel.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-09-20 00:23:14 +0000
committerDavid Robillard <d@drobilla.net>2007-09-20 00:23:14 +0000
commit0a9c38574cafd3e77234d220a18241025098bbb3 (patch)
treebf4380ab3b4bb42d1eff4263d5e559d43a6ccbc4 /src/libs/client/ObjectModel.hpp
parentad558bdafde7e40b5de79b47d8586aec53cf3f7e (diff)
downloadingen-0a9c38574cafd3e77234d220a18241025098bbb3.tar.gz
ingen-0a9c38574cafd3e77234d220a18241025098bbb3.tar.bz2
ingen-0a9c38574cafd3e77234d220a18241025098bbb3.zip
Rename C++ signals to cleaner Gtkmm convention.
git-svn-id: http://svn.drobilla.net/lad/ingen@734 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/ObjectModel.hpp')
-rw-r--r--src/libs/client/ObjectModel.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libs/client/ObjectModel.hpp b/src/libs/client/ObjectModel.hpp
index 6d2675fb..a9aff7d8 100644
--- a/src/libs/client/ObjectModel.hpp
+++ b/src/libs/client/ObjectModel.hpp
@@ -58,7 +58,7 @@ public:
const Atom& get_metadata(const string& key) const;
void set_metadata(const string& key, const Atom& value)
- { _metadata.insert(make_pair(key, value)); metadata_update_sig.emit(key, value); }
+ { _metadata.insert(make_pair(key, value)); signal_metadata.emit(key, value); }
typedef Raul::Table<string, SharedPtr<ObjectModel> > Children;
@@ -71,19 +71,19 @@ public:
SharedPtr<ObjectModel> get_child(const string& name) const;
// Signals
- sigc::signal<void, const string&, const Atom&> metadata_update_sig;
- sigc::signal<void, SharedPtr<ObjectModel> > new_child_sig;
- sigc::signal<void, SharedPtr<ObjectModel> > removed_child_sig;
- sigc::signal<void, bool> polyphonic_sig;
- sigc::signal<void> destroyed_sig;
- sigc::signal<void> renamed_sig;
+ sigc::signal<void, SharedPtr<ObjectModel> > signal_new_child;
+ sigc::signal<void, SharedPtr<ObjectModel> > signal_removed_child;
+ sigc::signal<void, const string&, const Atom&> signal_metadata;
+ sigc::signal<void, bool> signal_polyphonic;
+ sigc::signal<void> signal_destroyed;
+ sigc::signal<void> signal_renamed;
protected:
friend class Store;
ObjectModel(const Path& path, bool polyphonic);
- virtual void set_path(const Path& p) { _path = p; renamed_sig.emit(); }
+ virtual void set_path(const Path& p) { _path = p; signal_renamed.emit(); }
virtual void set_parent(SharedPtr<ObjectModel> p) { assert(p); _parent = p; }
virtual void add_child(SharedPtr<ObjectModel> c);
virtual bool remove_child(SharedPtr<ObjectModel> c);