summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/form.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kexi/formeditor/form.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kexi/formeditor/form.cpp')
-rw-r--r--kexi/formeditor/form.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/formeditor/form.cpp b/kexi/formeditor/form.cpp
index 52d44966..b5b20936 100644
--- a/kexi/formeditor/form.cpp
+++ b/kexi/formeditor/form.cpp
@@ -364,10 +364,10 @@ Form::changeName(const TQCString &oldname, const TQCString &newname)
return;
if(!d->topTree->rename(oldname, newname)) // rename failed
{
- KMessageBox::sorry(widget()->topLevelWidget(),
- i18n("Renaming widget \"%1\" to \"%2\" failed.").arg(TQString(oldname)).arg(TQString(newname)));
+ KMessageBox::sorry(widget()->tqtopLevelWidget(),
+ i18n("Renaming widget \"%1\" to \"%2\" failed.").tqarg(TQString(oldname)).tqarg(TQString(newname)));
//moved to WidgetPropertySet::slotChangeProperty()
-// KMessageBox::sorry(widget()->topLevelWidget(),
+// KMessageBox::sorry(widget()->tqtopLevelWidget(),
// i18n("A widget with this name already exists. "
// "Please choose another name or rename existing widget."));
kdDebug() << "Form::changeName() : ERROR : A widget named " << newname << " already exists" << endl;
@@ -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->children()); it.current(); ++it)
+ for (ObjectTreeListIterator it(*item->tqchildren()); it.current(); ++it)
collectContainers(it.current(), containers);
}
@@ -528,7 +528,7 @@ Form::autoAssignTabStops()
d->tabstops.clear();
/// We automatically sort widget from the top-left to bottom-right corner
- //! \todo Handle RTL layout (ie from top-right to bottom-left)
+ //! \todo Handle RTL tqlayout (ie from top-right to bottom-left)
foreach_list(WidgetListIterator, it, list) {
TQWidget *w = it.current();
hlist.append(w);