aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.h
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2009-11-26 15:46:02 -0300
committerLauro Neto <lauro.neto@openbossa.org>2009-11-27 16:58:01 -0300
commit104eb1dd5d662e75f39badbcb689d8137cf2f5b9 (patch)
treeb7974e7bacbf6daa6d4ffadc17e96ef3a5094395 /tests/libsample/objecttype.h
parenteb5cadcdddf834d5df0b36d19d9411e4cf931cce (diff)
Add removeChild and killChild to ObjectType test
Diffstat (limited to 'tests/libsample/objecttype.h')
-rw-r--r--tests/libsample/objecttype.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libsample/objecttype.h b/tests/libsample/objecttype.h
index 8a97c669a..74b6e40e6 100644
--- a/tests/libsample/objecttype.h
+++ b/tests/libsample/objecttype.h
@@ -68,6 +68,8 @@ public:
void setParent(ObjectType* parent);
ObjectType* parent() const { return m_parent; }
const ObjectTypeList& children() const { return m_children; }
+ void killChild(const Str& name);
+ void removeChild(const ObjectType *child);
Str objectName() const;
void setObjectName(const Str& name);