summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/form.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/form.cpp')
-rw-r--r--kexi/formeditor/form.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/formeditor/form.cpp b/kexi/formeditor/form.cpp
index 237c7ec8..6ed3e570 100644
--- a/kexi/formeditor/form.cpp
+++ b/kexi/formeditor/form.cpp
@@ -365,7 +365,7 @@ Form::changeName(const TQCString &oldname, const TQCString &newname)
if(!d->topTree->rename(oldname, newname)) // rename failed
{
KMessageBox::sorry(widget()->topLevelWidget(),
- i18n("Renaming widget \"%1\" to \"%2\" failed.").tqarg(TQString(oldname)).tqarg(TQString(newname)));
+ i18n("Renaming widget \"%1\" to \"%2\" failed.").arg(TQString(oldname)).arg(TQString(newname)));
//moved to WidgetPropertySet::slotChangeProperty()
// KMessageBox::sorry(widget()->topLevelWidget(),
// i18n("A widget with this name already exists. "
@@ -499,7 +499,7 @@ void collectContainers(ObjectTreeItem* item, TQPtrDict<char>& containers)
<< " " << item->container()->objectTree()->name() << endl;
containers.insert( item->container(), (const char *)1 );
}
- for (ObjectTreeListIterator it(*item->tqchildren()); it.current(); ++it)
+ for (ObjectTreeListIterator it(*item->children()); it.current(); ++it)
collectContainers(it.current(), containers);
}