summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoFrame.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /lib/kofficecore/KoFrame.cpp
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz
koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip
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
Diffstat (limited to 'lib/kofficecore/KoFrame.cpp')
-rw-r--r--lib/kofficecore/KoFrame.cpp24
1 files changed, 12 insertions, 12 deletions
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() );