diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kexi/formeditor/container.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/formeditor/container.cpp')
-rw-r--r-- | kexi/formeditor/container.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/formeditor/container.cpp b/kexi/formeditor/container.cpp index 2b6d5eb7..d1275adc 100644 --- a/kexi/formeditor/container.cpp +++ b/kexi/formeditor/container.cpp @@ -88,8 +88,8 @@ EventEater::~EventEater() // Container itself -Container::Container(Container *toplevel, TQWidget *container, TQObject *tqparent, const char *name) -: TQObject(tqparent, name) +Container::Container(Container *toplevel, TQWidget *container, TQObject *parent, const char *name) +: TQObject(parent, name) , m_insertBegin(-1,-1) , m_mousePressEventReceived(false) , m_mouseReleaseEvent(TQEvent::None, TQPoint(), 0, 0) @@ -118,11 +118,11 @@ Container::Container(Container *toplevel, TQWidget *container, TQObject *tqparen widget()->name(), widget(), this, this); setObjectTree(it); - if(tqparent->isWidgetType()) + if(parent->isWidgetType()) { - TQString n = tqparent->name(); - ObjectTreeItem *tqparent = m_form->objectTree()->lookup(n); - m_form->objectTree()->addItem(tqparent, it); + TQString n = parent->name(); + ObjectTreeItem *parent = m_form->objectTree()->lookup(n); + m_form->objectTree()->addItem(parent, it); } else m_form->objectTree()->addItem(toplevel->objectTree(), it); @@ -406,9 +406,9 @@ Container::eventFilter(TQObject *s, TQEvent *e) } else if((kev->key() == Key_Tab) || (kev->key() == Key_BackTab)){ ObjectTreeItem *item = form()->objectTree()->lookup(form()->selectedWidgets()->first()->name()); - if(!item || !item->tqparent()) + if(!item || !item->parent()) return true; - ObjectTreeList *list = item->tqparent()->tqchildren(); + ObjectTreeList *list = item->parent()->tqchildren(); if(list->count() == 1) return true; int index = list->findRef(item); @@ -1107,7 +1107,7 @@ Container::moveSelectedWidgetsBy(int realdx, int realdy, TQMouseEvent *mev) for(TQWidget *w = m_form->selectedWidgets()->first(); w; w = m_form->selectedWidgets()->next()) { - if(!w || !w->tqparent() || w->tqparent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) || w->tqparent()->inherits(TQWIDGETSTACK_OBJECT_NAME_STRING)) + if(!w || !w->parent() || w->parent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) || w->parent()->inherits(TQWIDGETSTACK_OBJECT_NAME_STRING)) continue; if(w->parentWidget() && w->parentWidget()->isA(TQWIDGETSTACK_OBJECT_NAME_STRING)) @@ -1133,7 +1133,7 @@ Container::moveSelectedWidgetsBy(int realdx, int realdy, TQMouseEvent *mev) for(TQWidget *w = m_form->selectedWidgets()->first(); w; w = m_form->selectedWidgets()->next()) { // Don't move tab widget pages (or widget stack pages) - if(!w || !w->tqparent() || w->tqparent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) || w->tqparent()->inherits(TQWIDGETSTACK_OBJECT_NAME_STRING)) + if(!w || !w->parent() || w->parent()->inherits(TQTABWIDGET_OBJECT_NAME_STRING) || w->parent()->inherits(TQWIDGETSTACK_OBJECT_NAME_STRING)) continue; if(w->parentWidget() && w->parentWidget()->isA(TQWIDGETSTACK_OBJECT_NAME_STRING)) |