diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-27 20:27:43 -0300 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2009-11-30 13:11:11 -0300 |
commit | 22fb6d89c445174e77afe698d247c72d05e1576a (patch) | |
tree | 1adc464052b4287f78cf4ca0517d368e96d3c12f /tests/libsample/objecttype.h | |
parent | 1dffc65e80f7ed87d51322de10492c7aec7106ca (diff) |
Some fixing and refactoring for the ObjectType test class.
Diffstat (limited to 'tests/libsample/objecttype.h')
-rw-r--r-- | tests/libsample/objecttype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h index 74b6e40e6..7ed9c5e04 100644 --- a/tests/libsample/objecttype.h +++ b/tests/libsample/objecttype.h @@ -69,7 +69,7 @@ public: ObjectType* parent() const { return m_parent; } const ObjectTypeList& children() const { return m_children; } void killChild(const Str& name); - void removeChild(const ObjectType *child); + void removeChild(ObjectType* child); Str objectName() const; void setObjectName(const Str& name); @@ -83,7 +83,7 @@ private: ObjectType(const ObjectType&); ObjectType& operator=(const ObjectType&); - Str* m_objectName; + Str m_objectName; ObjectType* m_parent; ObjectTypeList m_children; }; |