diff options
Diffstat (limited to 'src/base/Event.h')
-rw-r--r-- | src/base/Event.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/base/Event.h b/src/base/Event.h index f236681..987929c 100644 --- a/src/base/Event.h +++ b/src/base/Event.h @@ -363,12 +363,12 @@ private: } // returned iterator (in i) only valid if return map value is non-zero - PropertyMap *find(const PropertyName &name, PropertyMap::iterator &i); + PropertyMap *tqfind(const PropertyName &name, PropertyMap::iterator &i); - const PropertyMap *find(const PropertyName &name, + const PropertyMap *tqfind(const PropertyName &name, PropertyMap::const_iterator &i) const { PropertyMap::iterator j; - PropertyMap *map = const_cast<Event *>(this)->find(name, j); + PropertyMap *map = const_cast<Event *>(this)->tqfind(name, j); i = j; return map; } @@ -400,7 +400,7 @@ Event::get(const PropertyName &name, typename PropertyDefn<P>::basic_type &val) #endif PropertyMap::const_iterator i; - const PropertyMap *map = find(name, i); + const PropertyMap *map = tqfind(name, i); if (map) { @@ -434,7 +434,7 @@ Event::get(const PropertyName &name) const #endif PropertyMap::const_iterator i; - const PropertyMap *map = find(name, i); + const PropertyMap *map = tqfind(name, i); if (map) { @@ -464,7 +464,7 @@ Event::isPersistent(const PropertyName &name) const // throw (NoData) { PropertyMap::const_iterator i; - const PropertyMap *map = find(name, i); + const PropertyMap *map = tqfind(name, i); if (map) { return (map == m_data->m_properties); @@ -481,7 +481,7 @@ Event::setPersistence(const PropertyName &name, bool persistent) { unshare(); PropertyMap::iterator i; - PropertyMap *map = find(name, i); + PropertyMap *map = tqfind(name, i); if (map) { insert(*i, persistent); @@ -506,7 +506,7 @@ Event::set(const PropertyName &name, typename PropertyDefn<P>::basic_type value, unshare(); PropertyMap::iterator i; - PropertyMap *map = find(name, i); + PropertyMap *map = tqfind(name, i); if (map) { bool persistentBefore = (map == m_data->m_properties); @@ -547,7 +547,7 @@ Event::setMaybe(const PropertyName &name, typename PropertyDefn<P>::basic_type v unshare(); PropertyMap::iterator i; - PropertyMap *map = find(name, i); + PropertyMap *map = tqfind(name, i); if (map) { if (map == m_data->m_properties) return; // persistent, so ignore it |