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