diff options
Diffstat (limited to 'kword/KWCanvas.cpp')
| -rw-r--r-- | kword/KWCanvas.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/KWCanvas.cpp b/kword/KWCanvas.cpp index 1551026c0..045755145 100644 --- a/kword/KWCanvas.cpp +++ b/kword/KWCanvas.cpp @@ -398,7 +398,7 @@ void KWCanvas::mpCreatePixmap( const TQPoint& normalPoint, bool noGrid ) TQPoint vPoint = m_viewMode->normalToView( nPoint ); vPoint = contentsToViewport( vPoint ); TQRect viewportRect( contentsX(), contentsY(), visibleWidth(), visibleHeight() ); - if ( viewportRect.tqcontains( vPoint ) ) // Don't move the mouse out of the viewport + if ( viewportRect.contains( vPoint ) ) // Don't move the mouse out of the viewport TQCursor::setPos( viewport()->mapToGlobal( vPoint ) ); } emit docStructChanged(Pictures); @@ -743,7 +743,7 @@ void KWCanvas::mmCreate( const TQPoint& normalPoint, bool noGrid ) // Mouse move // But not out of the page KoRect r = m_insRect.normalize(); - if ( !m_doc->pageManager()->page(page)->rect().tqcontains(r) ) + if ( !m_doc->pageManager()->page(page)->rect().contains(r) ) { // Even better would be to go to the limit of the page boundary, so that the result, // when moving the mouse of the page, doesn't depend on how fast we're moving it... @@ -865,7 +865,7 @@ void KWCanvas::contentsMouseMoveEvent( TQMouseEvent *e ) //show the link target in the status bar TQString link = frameset->linkVariableUnderMouse(docPoint)->url(); if ( link.startsWith("bkm://") ) - link.tqreplace( 0, 6, i18n("Bookmark target: ") ); + link.replace( 0, 6, i18n("Bookmark target: ") ); gui()->getView()->setTemporaryStatusBarText( link ); m_temporaryStatusBarTextShown = true; } @@ -1533,7 +1533,7 @@ void KWCanvas::contentsDropEvent( TQDropEvent *e ) if ( res && res->isValid() ) { TQString mimetype = res->name(); - if ( mimetype.tqcontains( "image" ) ) { + if ( mimetype.contains( "image" ) ) { KoPictureKey key; key.setKeyFromFile( filename ); KoPicture newKoPicture; @@ -2382,7 +2382,7 @@ void FrameMovePolicy::handleMouseMove(TQt::ButtonState keyState, const KoPoint & KWFrameSet *fs = frame->frameSet(); if ( fs->type() == FT_TABLE ) { - if ( tablesMoved.tqfindRef( static_cast<KWTableFrameSet *> (fs) ) == -1 ) + if ( tablesMoved.findRef( static_cast<KWTableFrameSet *> (fs) ) == -1 ) tablesMoved.append( static_cast<KWTableFrameSet *> (fs)); } else { |
