From 757d80a919132cf72773928d53d100d22358de34 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 14 Dec 2023 21:19:12 +0900 Subject: Remove various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6) --- lib/kofficecore/KoView.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/kofficecore/KoView.cpp') diff --git a/lib/kofficecore/KoView.cpp b/lib/kofficecore/KoView.cpp index 322c1a7d5..6bebf91e8 100644 --- a/lib/kofficecore/KoView.cpp +++ b/lib/kofficecore/KoView.cpp @@ -114,7 +114,7 @@ KoView::KoView( KoDocument *document, TQWidget *parent, const char *name ) //kdDebug(30003) << "KoView::KoView " << this << endl; d = new KoViewPrivate; d->m_doc = document; - KParts::PartBase::setPartObject( TQT_TQOBJECT(this) ); + KParts::PartBase::setPartObject( this ); setFocusPolicy( TQWidget::StrongFocus ); @@ -533,7 +533,7 @@ void KoView::slotChildActivated( bool a ) // Is the new active view a child of this one ? // In this case we may not delete! // TQObject *n = d->m_manager->activeWidget(); - TQObject *n = TQT_TQOBJECT(activeWidget); + TQObject *n = activeWidget; while( n ) if ( n == (TQObject *)view ) return; @@ -627,7 +627,7 @@ void KoView::slotAutoScroll( ) void KoView::setupGlobalActions() { actionNewView = new TDEAction( i18n( "&New View" ), "window-new", 0, - TQT_TQOBJECT(this), TQT_SLOT( newView() ), + this, TQT_SLOT( newView() ), actionCollection(), "view_newview" ); } -- cgit v1.2.3