summaryrefslogtreecommitdiffstats
path: root/kfind/kdatecombo.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:20:43 +0900
committerMichele Calgaro <[email protected]>2023-08-08 20:10:54 +0900
commit196b1629b9f5de20f3769eb5ec755a635df3c3e7 (patch)
tree0f9de901a6b71ee79c80a8186ac3b985998e55b0 /kfind/kdatecombo.cpp
parent311da82aeb967658bb6bd69d9b17ceabf0fc9a0f (diff)
downloadtdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.tar.gz
tdebase-196b1629b9f5de20f3769eb5ec755a635df3c3e7.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7bc43c68b3c095631628e1fb691242315687d15b)
Diffstat (limited to 'kfind/kdatecombo.cpp')
-rw-r--r--kfind/kdatecombo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kfind/kdatecombo.cpp b/kfind/kdatecombo.cpp
index 869753c5b..467f26792 100644
--- a/kfind/kdatecombo.cpp
+++ b/kfind/kdatecombo.cpp
@@ -86,7 +86,7 @@ void KDateCombo::mousePressEvent (TQMouseEvent * e)
{
if (e->button() & Qt::LeftButton)
{
- if (TQT_TQRECT_OBJECT(rect()).contains( e->pos()))
+ if (rect().contains( e->pos()))
{
TQDate tempDate;
getDate(& tempDate);
@@ -103,7 +103,7 @@ bool KDateCombo::eventFilter (TQObject*, TQEvent* e)
{
TQMouseEvent *me = (TQMouseEvent *)e;
TQPoint p = mapFromGlobal( me->globalPos() );
- if (TQT_TQRECT_OBJECT(rect()).contains( p ) )
+ if (rect().contains( p ) )
{
TQTimer::singleShot(10, this, TQT_SLOT(dateEnteredEvent()));
return true;