summaryrefslogtreecommitdiffstats
path: root/kdeui/kpanelapplet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/kpanelapplet.cpp')
-rw-r--r--kdeui/kpanelapplet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kdeui/kpanelapplet.cpp b/kdeui/kpanelapplet.cpp
index 152368b87..ece71ad54 100644
--- a/kdeui/kpanelapplet.cpp
+++ b/kdeui/kpanelapplet.cpp
@@ -146,13 +146,13 @@ void KPanelApplet::watchForFocus(TQWidget* widget, bool watch)
if (watch)
{
- if (d->watchedForFocus.tqfind(TQT_TQOBJECT(widget)) == -1)
+ if (d->watchedForFocus.find(TQT_TQOBJECT(widget)) == -1)
{
d->watchedForFocus.append(TQT_TQOBJECT(widget));
widget->installEventFilter(this);
}
}
- else if (d->watchedForFocus.tqfind(TQT_TQOBJECT(widget)) != -1)
+ else if (d->watchedForFocus.find(TQT_TQOBJECT(widget)) != -1)
{
d->watchedForFocus.remove(TQT_TQOBJECT(widget));
widget->removeEventFilter(this);
@@ -172,7 +172,7 @@ void KPanelApplet::needsFocus(bool focus)
bool KPanelApplet::eventFilter(TQObject *o, TQEvent * e)
{
- if (d->watchedForFocus.tqfind(o) != -1)
+ if (d->watchedForFocus.find(o) != -1)
{
if (e->type() == TQEvent::MouseButtonRelease ||
e->type() == TQEvent::FocusIn)