diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:44:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 21:44:59 +0900 |
commit | 1607518b8c749b4195c5ab11b405f77001526a6a (patch) | |
tree | 89b8bc00c6b9625f6a4f061594f57f457d18a174 /kexi/formeditor | |
parent | 64574118b7f71db7cb0a7f513a824dd51185b632 (diff) | |
download | koffice-1607518b8c749b4195c5ab11b405f77001526a6a.tar.gz koffice-1607518b8c749b4195c5ab11b405f77001526a6a.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit a7ea84c97639f635d798348432f355e3ac496a1d)
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; |