diff options
Diffstat (limited to 'kexi/formeditor')
-rw-r--r-- | kexi/formeditor/container.cpp | 2 | ||||
-rw-r--r-- | kexi/formeditor/factories/containerfactory.cpp | 2 | ||||
-rw-r--r-- | kexi/formeditor/utils.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/kexi/formeditor/container.cpp b/kexi/formeditor/container.cpp index 4ea7f97e..89269b14 100644 --- a/kexi/formeditor/container.cpp +++ b/kexi/formeditor/container.cpp @@ -267,7 +267,7 @@ Container::eventFilter(TQObject *s, TQEvent *e) if(!tree || !tree->widget()) return true; - if(m_form->formWidget() && (TQT_BASE_OBJECT(tree->widget()) != TQT_BASE_OBJECT(s))) + if(m_form->formWidget() && (tree->widget() != s)) m_form->formWidget()->highlightWidgets(tree->widget(), TQT_TQWIDGET(s)); } else if(m_insertBegin!=TQPoint(-1,-1) && s == m_container && !m_toplevel && (mev->state() != ControlButton) && !FormManager::self()->isCreatingConnection()) // draw the selection rect diff --git a/kexi/formeditor/factories/containerfactory.cpp b/kexi/formeditor/factories/containerfactory.cpp index b0005dd9..54372991 100644 --- a/kexi/formeditor/factories/containerfactory.cpp +++ b/kexi/formeditor/factories/containerfactory.cpp @@ -868,7 +868,7 @@ void ContainerFactory::renameTabPage() void ContainerFactory::reorderTabs(int oldpos, int newpos) { KFormDesigner::ObjectTreeItem *tab - = KFormDesigner::FormManager::self()->activeForm()->objectTree()->lookup(TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()))->name()); + = KFormDesigner::FormManager::self()->activeForm()->objectTree()->lookup(sender()->name()); if(!tab) return; diff --git a/kexi/formeditor/utils.h b/kexi/formeditor/utils.h index a8312f79..d42a891f 100644 --- a/kexi/formeditor/utils.h +++ b/kexi/formeditor/utils.h @@ -37,7 +37,7 @@ class Form; If the parent is found, \a prevPrev is set to a child of child of the parent, what for TabWidget means the page widget. */ template<class type> -type* findParent(TQT_BASE_OBJECT_NAME* o, const char* className, TQObject* &prevPrev) +type* findParent(TQObject* o, const char* className, TQObject* &prevPrev) { if (!o || !className || className[0]=='\0') return 0; |