summaryrefslogtreecommitdiffstats
path: root/tdeui/kpanelapplet.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-26 18:42:01 +0900
commit2a3a62bb995b73481a8a64658266adf22e523f7b (patch)
tree17e63d11e590bd93137dee185ff1342873f4ddea /tdeui/kpanelapplet.cpp
parentaf8caeadf368a17dabd9f53d4c661213c840eebd (diff)
downloadtdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.tar.gz
tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d5688771d8a6837975be512ee37f61bad7dbd345)
Diffstat (limited to 'tdeui/kpanelapplet.cpp')
-rw-r--r--tdeui/kpanelapplet.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kpanelapplet.cpp b/tdeui/kpanelapplet.cpp
index 64a190d77..22ca4428c 100644
--- a/tdeui/kpanelapplet.cpp
+++ b/tdeui/kpanelapplet.cpp
@@ -146,15 +146,15 @@ void KPanelApplet::watchForFocus(TQWidget* widget, bool watch)
if (watch)
{
- if (d->watchedForFocus.find(TQT_TQOBJECT(widget)) == -1)
+ if (d->watchedForFocus.find(widget) == -1)
{
- d->watchedForFocus.append(TQT_TQOBJECT(widget));
+ d->watchedForFocus.append(widget);
widget->installEventFilter(this);
}
}
- else if (d->watchedForFocus.find(TQT_TQOBJECT(widget)) != -1)
+ else if (d->watchedForFocus.find(widget) != -1)
{
- d->watchedForFocus.remove(TQT_TQOBJECT(widget));
+ d->watchedForFocus.remove(widget);
widget->removeEventFilter(this);
}
}