diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:46:35 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 18:54:01 +0900 |
commit | 0fc56f21d45249a473d20555ff3071d3b16bee54 (patch) | |
tree | c788136146e1f97187ecaf773563c21cbd42fa11 /kicker/applets | |
parent | 83e74d1e550db6a814ec252968b601f6a9b14f9b (diff) | |
download | tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.tar.gz tdebase-0fc56f21d45249a473d20555ff3071d3b16bee54.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kicker/applets')
-rw-r--r-- | kicker/applets/clock/clock.cpp | 2 | ||||
-rw-r--r-- | kicker/applets/lockout/lockout.cpp | 4 | ||||
-rw-r--r-- | kicker/applets/minipager/pagerbutton.cpp | 2 | ||||
-rw-r--r-- | kicker/applets/systemtray/systemtrayapplet.cpp | 2 |
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) |