summaryrefslogtreecommitdiffstats
path: root/kicker/applets
diff options
context:
space:
mode:
Diffstat (limited to 'kicker/applets')
-rw-r--r--kicker/applets/clock/clock.cpp2
-rw-r--r--kicker/applets/lockout/lockout.cpp4
-rw-r--r--kicker/applets/minipager/pagerbutton.cpp2
-rw-r--r--kicker/applets/systemtray/systemtrayapplet.cpp2
4 files changed, 5 insertions, 5 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) );
diff --git a/kicker/applets/lockout/lockout.cpp b/kicker/applets/lockout/lockout.cpp
index d4c14c9db..75533202c 100644
--- a/kicker/applets/lockout/lockout.cpp
+++ b/kicker/applets/lockout/lockout.cpp
@@ -196,7 +196,7 @@ bool Lockout::eventFilter( TQObject *o, TQEvent *e )
TQMouseEvent *me = TQT_TQMOUSEEVENT( e );
if( me->button() == Qt::RightButton )
{
- if( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(lockButton) )
+ if( o == lockButton )
{
TQPopupMenu *popup = new TQPopupMenu();
@@ -219,7 +219,7 @@ bool Lockout::eventFilter( TQObject *o, TQEvent *e )
return true;
}
- else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(logoutButton) )
+ else if ( o == logoutButton )
{
TQPopupMenu *popup = new TQPopupMenu();
diff --git a/kicker/applets/minipager/pagerbutton.cpp b/kicker/applets/minipager/pagerbutton.cpp
index e9f42e18a..6d3355769 100644
--- a/kicker/applets/minipager/pagerbutton.cpp
+++ b/kicker/applets/minipager/pagerbutton.cpp
@@ -747,7 +747,7 @@ void KMiniPagerButton::slotToggled( bool b )
bool KMiniPagerButton::eventFilter( TQObject *o, TQEvent * e)
{
- if (o && TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_lineEdit) &&
+ if (o && o == m_lineEdit &&
(e->type() == TQEvent::FocusOut || e->type() == TQEvent::Hide))
{
m_pager->twin()->setDesktopName( m_desktop, m_lineEdit->text() );
diff --git a/kicker/applets/systemtray/systemtrayapplet.cpp b/kicker/applets/systemtray/systemtrayapplet.cpp
index 97b71d1b2..2fa4910cf 100644
--- a/kicker/applets/systemtray/systemtrayapplet.cpp
+++ b/kicker/applets/systemtray/systemtrayapplet.cpp
@@ -833,7 +833,7 @@ int SystemTrayApplet::maxIconHeight() const
bool SystemTrayApplet::eventFilter(TQObject* watched, TQEvent* e)
{
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_expandButton))
+ if (watched == m_expandButton)
{
TQPoint p;
if (e->type() == TQEvent::ContextMenu)