summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoView.cpp')
-rw-r--r--lib/kofficecore/KoView.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficecore/KoView.cpp b/lib/kofficecore/KoView.cpp
index 87751a34..e2b9775e 100644
--- a/lib/kofficecore/KoView.cpp
+++ b/lib/kofficecore/KoView.cpp
@@ -203,7 +203,7 @@ void KoView::setPartManager( KParts::PartManager *manager )
{
d->m_manager = manager;
if ( !koDocument()->isSingleViewMode() &&
- manager->parts()->tqcontainsRef( koDocument() ) == 0 ) // is there another view registered?
+ manager->parts()->containsRef( koDocument() ) == 0 ) // is there another view registered?
{
d->m_registered = true; // no, so we have to register now and ungregister again in the DTOR
manager->addPart( koDocument(), false );
@@ -241,11 +241,11 @@ KoDocument *KoView::hitTest( const TQPoint &viewPos )
{
if ( ( viewChild = child( docChild->document() ) ) )
{
- if ( viewChild->frameRegion().tqcontains( pos ) )
+ if ( viewChild->frameRegion().contains( pos ) )
return 0;
}
else
- if ( docChild->frameRegion().tqcontains( pos ) )
+ if ( docChild->frameRegion().contains( pos ) )
return 0;
}
@@ -254,11 +254,11 @@ KoDocument *KoView::hitTest( const TQPoint &viewPos )
{
if ( ( viewChild = child( docChild->document() ) ) )
{
- if ( viewChild->frameRegion().tqcontains( pos ) )
+ if ( viewChild->frameRegion().contains( pos ) )
return 0;
}
else
- if ( docChild->frameRegion().tqcontains( pos ) )
+ if ( docChild->frameRegion().contains( pos ) )
return 0;
}