diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 7c71ab86d1f7e387fc3df63b48df07231f111862 (patch) | |
tree | 30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kexi/formeditor/form.cpp | |
parent | afbfdc507bfaafc8824a9808311d57a9ece87510 (diff) | |
download | koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/formeditor/form.cpp')
-rw-r--r-- | kexi/formeditor/form.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kexi/formeditor/form.cpp b/kexi/formeditor/form.cpp index 41afdf37..6acf139c 100644 --- a/kexi/formeditor/form.cpp +++ b/kexi/formeditor/form.cpp @@ -173,11 +173,11 @@ Form::commonParentContainer(WidgetList *wlist) ObjectTreeItem *item = 0; WidgetList *list = new WidgetList(); - // Creates a list of all widget tqparents + // Creates a list of all widget parents for(TQWidget *w = wlist->first(); w; w = wlist->next()) { - if(list->tqfindRef(w->tqparentWidget()) == -1) - list->append(w->tqparentWidget()); + if(list->tqfindRef(w->parentWidget()) == -1) + list->append(w->parentWidget()); } removeChildrenFromList(*list); @@ -193,7 +193,7 @@ Form::commonParentContainer(WidgetList *wlist) } Container* -Form::tqparentContainer(TQWidget *w) +Form::parentContainer(TQWidget *w) { ObjectTreeItem *it; if(!w) @@ -245,14 +245,14 @@ Form::setSelectedWidget(TQWidget *w, bool add, bool dontRaise, bool moreWillBeSe return; } - //raise selected widget and all possible tqparents + //raise selected widget and all possible parents TQWidget *wtmp = w; - while(!dontRaise && wtmp && wtmp->tqparentWidget() && (wtmp != widget())) + while(!dontRaise && wtmp && wtmp->parentWidget() && (wtmp != widget())) { wtmp->raise(); if(d->resizeHandles[ wtmp->name() ]) d->resizeHandles[ wtmp->name() ]->raise(); - wtmp = wtmp->tqparentWidget(); + wtmp = wtmp->parentWidget(); } if (wtmp) @@ -268,11 +268,11 @@ Form::setSelectedWidget(TQWidget *w, bool add, bool dontRaise, bool moreWillBeSe emitActionSignals(false); // WidgetStack and TabWidget pages widgets shouldn't have resize handles, but their tqparent - if(!FormManager::self()->isTopLevel(w) && w->tqparentWidget() && w->tqparentWidget()->isA(TQWIDGETSTACK_OBJECT_NAME_STRING)) + if(!FormManager::self()->isTopLevel(w) && w->parentWidget() && w->parentWidget()->isA(TQWIDGETSTACK_OBJECT_NAME_STRING)) { - w = w->tqparentWidget(); - if(w->tqparentWidget() && w->tqparentWidget()->inherits(TQTABWIDGET_OBJECT_NAME_STRING)) - w = w->tqparentWidget(); + w = w->parentWidget(); + if(w->parentWidget() && w->parentWidget()->inherits(TQTABWIDGET_OBJECT_NAME_STRING)) + w = w->parentWidget(); } if(w && w != widget()) |