diff options
Diffstat (limited to 'kexi/formeditor/objecttree.cpp')
-rw-r--r-- | kexi/formeditor/objecttree.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/formeditor/objecttree.cpp b/kexi/formeditor/objecttree.cpp index e2ada714..fa86e804 100644 --- a/kexi/formeditor/objecttree.cpp +++ b/kexi/formeditor/objecttree.cpp @@ -64,14 +64,14 @@ ObjectTreeItem::rename(const TQString &name) void ObjectTreeItem::addChild(ObjectTreeItem *c) { - m_tqchildren.append(c); + m_children.append(c); c->setParent(this); } void ObjectTreeItem::removeChild(ObjectTreeItem *c) { - m_tqchildren.remove(c); + m_children.remove(c); } void @@ -141,10 +141,10 @@ ObjectTree::ObjectTree(const TQString &classn, const TQString &name, TQWidget *w ObjectTree::~ObjectTree() { -// for(ObjectTreeItem *it = tqchildren()->first(); it; it = tqchildren()->next()) +// for(ObjectTreeItem *it = children()->first(); it; it = children()->next()) // removeItem(it->name()); - while (tqchildren()->first()) { - removeItem(tqchildren()->first()); + while (children()->first()) { + removeItem(children()->first()); } } @@ -216,7 +216,7 @@ ObjectTree::removeItem(ObjectTreeItem *c) if (m_container && m_container->form()) m_container->form()->emitChildRemoved(c); - for(ObjectTreeItem *it = c->tqchildren()->first(); it; it = c->tqchildren()->next()) + for(ObjectTreeItem *it = c->children()->first(); it; it = c->children()->next()) removeItem(it->name()); m_treeDict.remove(c->name()); |