summaryrefslogtreecommitdiffstats
path: root/kicker/applets/clock/clock.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:46:35 +0900
committerMichele Calgaro <[email protected]>2023-08-18 18:54:01 +0900
commit0fc56f21d45249a473d20555ff3071d3b16bee54 (patch)
treec788136146e1f97187ecaf773563c21cbd42fa11 /kicker/applets/clock/clock.cpp
parent83e74d1e550db6a814ec252968b601f6a9b14f9b (diff)
downloadtdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.tar.gz
tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kicker/applets/clock/clock.cpp')
-rw-r--r--kicker/applets/clock/clock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicker/applets/clock/clock.cpp b/kicker/applets/clock/clock.cpp
index d7b8268aa..536d62065 100644
--- a/kicker/applets/clock/clock.cpp
+++ b/kicker/applets/clock/clock.cpp
@@ -1675,7 +1675,7 @@ void ClockApplet::wheelEvent(TQWheelEvent* e)
// catch the mouse clicks of our child widgets
bool ClockApplet::eventFilter( TQObject *o, TQEvent *e )
{
- if (( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(_clock->widget()) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(_date) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(_dayOfWeek)) &&
+ if (( o == _clock->widget() || o == _date || o == _dayOfWeek) &&
e->type() == TQEvent::MouseButtonPress )
{
mousePressEvent(TQT_TQMOUSEEVENT(e) );