diff options
Diffstat (limited to 'lib/kofficecore/KoView.cpp')
-rw-r--r-- | lib/kofficecore/KoView.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoView.cpp b/lib/kofficecore/KoView.cpp index 322c1a7d..6bebf91e 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" ); } |