summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:47:26 +0900
committerMichele Calgaro <[email protected]>2023-08-18 17:09:32 +0900
commit09e466f879ed6e5b17980110eec2cc8db1b4f914 (patch)
treecbe99eab52f3be3b60af8104d9809da63f9ab6f2 /kate/part
parent34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (diff)
downloadtdelibs-09e466f879ed6e5b17980110eec2cc8db1b4f914.tar.gz
tdelibs-09e466f879ed6e5b17980110eec2cc8db1b4f914.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 48b07a0ff120e8b4479bcac912d8a8f043e22ae4)
Diffstat (limited to 'kate/part')
-rw-r--r--kate/part/katecodecompletion.cpp6
-rw-r--r--kate/part/katesupercursor.cpp4
-rw-r--r--kate/part/kateviewinternal.cpp2
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())