diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:47:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 16:38:42 +0900 |
commit | 48b07a0ff120e8b4479bcac912d8a8f043e22ae4 (patch) | |
tree | a3d42bf916706ea512c6887baea5589448afd760 /kate/part | |
parent | 23278d259378e17087bf9aeaa5e45974dfb74bce (diff) | |
download | tdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.tar.gz tdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kate/part')
-rw-r--r-- | kate/part/katecodecompletion.cpp | 6 | ||||
-rw-r--r-- | kate/part/katesupercursor.cpp | 4 | ||||
-rw-r--r-- | kate/part/kateviewinternal.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kate/part/katecodecompletion.cpp b/kate/part/katecodecompletion.cpp index 275894483..e8e53f661 100644 --- a/kate/part/katecodecompletion.cpp +++ b/kate/part/katecodecompletion.cpp @@ -163,9 +163,9 @@ void KateCodeCompletion::showCompletionBox( bool KateCodeCompletion::eventFilter( TQObject *o, TQEvent *e ) { - if ( TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_completionPopup) && - TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_completionListBox) && - TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(m_completionListBox->viewport()) ) + if ( o != m_completionPopup && + o != m_completionListBox && + o != m_completionListBox->viewport() ) return false; if( e->type() == TQEvent::Hide ) diff --git a/kate/part/katesupercursor.cpp b/kate/part/katesupercursor.cpp index b08888f57..1d47fcb4e 100644 --- a/kate/part/katesupercursor.cpp +++ b/kate/part/katesupercursor.cpp @@ -446,7 +446,7 @@ bool KateSuperRange::boundaryOn(uint lineNum) const void KateSuperRange::slotEvaluateChanged() { - if (sender() == static_cast<TQObject*>(m_start)) { + if (sender() == m_start) { if (m_evaluate) { if (!m_endChanged) { // Only one was changed @@ -484,7 +484,7 @@ void KateSuperRange::slotEvaluateChanged() void KateSuperRange::slotEvaluateUnChanged() { - if (sender() == static_cast<TQObject*>(m_start)) { + if (sender() == m_start) { if (m_evaluate) { if (m_endChanged) { // Only one changed diff --git a/kate/part/kateviewinternal.cpp b/kate/part/kateviewinternal.cpp index 5acb93bc8..91f827d91 100644 --- a/kate/part/kateviewinternal.cpp +++ b/kate/part/kateviewinternal.cpp @@ -2438,7 +2438,7 @@ bool KateViewInternal::isTargetSelected( const TQPoint& p ) bool KateViewInternal::eventFilter( TQObject *obj, TQEvent *e ) { - if (TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(m_lineScroll)) + if (obj == m_lineScroll) { // the second condition is to make sure a scroll on the vertical bar doesn't cause a horizontal scroll ;) if (e->type() == TQEvent::Wheel && m_lineScroll->minValue() != m_lineScroll->maxValue()) |