summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabeldict/kbabeldictbox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:48:13 +0900
committerMichele Calgaro <[email protected]>2023-08-17 15:46:34 +0900
commit2ceb4caa0bdb7828fdc87dca7b5a719279e23398 (patch)
tree50282ddc39f475ce52ad319f321c8c56aab6c2fa /kbabel/kbabeldict/kbabeldictbox.cpp
parentd3c01b6e72bc676f859f5601dac5473421f7cafc (diff)
downloadtdesdk-2ceb4caa0bdb7828fdc87dca7b5a719279e23398.tar.gz
tdesdk-2ceb4caa0bdb7828fdc87dca7b5a719279e23398.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kbabel/kbabeldict/kbabeldictbox.cpp')
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp
index 5abd7215..bb0b108c 100644
--- a/kbabel/kbabeldict/kbabeldictbox.cpp
+++ b/kbabel/kbabeldict/kbabeldictbox.cpp
@@ -1534,7 +1534,7 @@ void KBabelDictBox::configure(const TQString& id, bool modal)
void KBabelDictBox::destroyConfigDialog()
{
- const TQObject *obj = TQT_TQOBJECT(const_cast<TQT_BASE_OBJECT_NAME*>(sender()));
+ const TQObject *obj = sender();
if(obj && obj->inherits("KDialogBase"))
{
KDialogBase *dialog = (KDialogBase*)obj;
@@ -1616,7 +1616,7 @@ bool KBabelDictBox::eventFilter(TQObject *o, TQEvent *e)
return true;
}
}
- else if(e->type() == TQEvent::Resize && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(resultListView))
+ else if(e->type() == TQEvent::Resize && o == resultListView)
{
if(resultListView->height() < 2)
{