From b6edfe41c9395f2e20784cbf0e630af6426950a3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kofficecore/KoFrame.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lib/kofficecore/KoFrame.cpp') diff --git a/lib/kofficecore/KoFrame.cpp b/lib/kofficecore/KoFrame.cpp index 2662169e..f11ba9f0 100644 --- a/lib/kofficecore/KoFrame.cpp +++ b/lib/kofficecore/KoFrame.cpp @@ -217,21 +217,21 @@ void KoFrame::mousePressEvent( TQMouseEvent* ev ) TQRect r7( 0, height() / 2 - 3, 5, 5 ); TQRect r8( width()- 5, height() / 2 - 3, 5, 5 ); - if ( r1.tqcontains( ev->pos() ) ) + if ( r1.contains( ev->pos() ) ) d->m_mode = 1; - else if ( r2.tqcontains( ev->pos() ) ) + else if ( r2.contains( ev->pos() ) ) d->m_mode = 2; - else if ( r3.tqcontains( ev->pos() ) ) + else if ( r3.contains( ev->pos() ) ) d->m_mode = 3; - else if ( r4.tqcontains( ev->pos() ) ) + else if ( r4.contains( ev->pos() ) ) d->m_mode = 4; - else if ( r5.tqcontains( ev->pos() ) ) + else if ( r5.contains( ev->pos() ) ) d->m_mode = 5; - else if ( r6.tqcontains( ev->pos() ) ) + else if ( r6.contains( ev->pos() ) ) d->m_mode = 6; - else if ( r7.tqcontains( ev->pos() ) ) + else if ( r7.contains( ev->pos() ) ) d->m_mode = 7; - else if ( r8.tqcontains( ev->pos() ) ) + else if ( r8.contains( ev->pos() ) ) d->m_mode = 8; else d->m_mode = 0; @@ -327,13 +327,13 @@ void KoFrame::mouseMoveEvent( TQMouseEvent* ev ) TQRect r7( 0, height() / 2 - 3, 5, 5 ); TQRect r8( width()- 5, height() / 2 - 3, 5, 5 ); - if ( r1.tqcontains( ev->pos() ) || r3.tqcontains( ev->pos() ) ) + if ( r1.contains( ev->pos() ) || r3.contains( ev->pos() ) ) setCursor( sizeFDiagCursor ); - else if ( r2.tqcontains( ev->pos() ) || r4.tqcontains( ev->pos() ) ) + else if ( r2.contains( ev->pos() ) || r4.contains( ev->pos() ) ) setCursor( sizeBDiagCursor ); - else if ( r5.tqcontains( ev->pos() ) || r6.tqcontains( ev->pos() ) ) + else if ( r5.contains( ev->pos() ) || r6.contains( ev->pos() ) ) setCursor( sizeVerCursor ); - else if ( r7.tqcontains( ev->pos() ) || r8.tqcontains( ev->pos() ) ) + else if ( r7.contains( ev->pos() ) || r8.contains( ev->pos() ) ) setCursor( sizeHorCursor ); else setCursor( KCursor::handCursor() ); -- cgit v1.2.1