summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/formeditor/utils.cpp')
-rw-r--r--kexi/formeditor/utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/formeditor/utils.cpp b/kexi/formeditor/utils.cpp
index 85e93204..53a9a15b 100644
--- a/kexi/formeditor/utils.cpp
+++ b/kexi/formeditor/utils.cpp
@@ -88,7 +88,7 @@ void
KFormDesigner::setRecursiveCursor(TQWidget *w, Form *form)
{
ObjectTreeItem *tree = form->objectTree()->lookup(w->name());
- if(tree && ((tree->modifiedProperties()->contains("cursor")) || !tree->tqchildren()->isEmpty())
+ if(tree && ((tree->modifiedProperties()->contains("cursor")) || !tree->children()->isEmpty())
&& !w->inherits(TQLINEEDIT_OBJECT_NAME_STRING) && !w->inherits(TQTEXTEDIT_OBJECT_NAME_STRING)
) //fix weird behaviour
return; // if the user has set a cursor for this widget or this is a container, don't change it
@@ -108,7 +108,7 @@ KFormDesigner::getSizeFromChildren(TQWidget *w, const char *inheritClass)
int tmpw = 0, tmph = 0;
TQObjectList *list = w->queryList(inheritClass, 0, false, false);
for(TQObject *o = list->first(); o; o = list->next()) {
- TQRect r = ((TQWidget*)o)->tqgeometry();
+ TQRect r = ((TQWidget*)o)->geometry();
tmpw = TQMAX(tmpw, r.right());
tmph = TQMAX(tmph, r.bottom());
}