diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /kpresenter/KPrObject.cpp | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-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 'kpresenter/KPrObject.cpp')
-rw-r--r-- | kpresenter/KPrObject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrObject.cpp b/kpresenter/KPrObject.cpp index 8c0284a3..5a03896a 100644 --- a/kpresenter/KPrObject.cpp +++ b/kpresenter/KPrObject.cpp @@ -854,7 +854,7 @@ void KPrObject::loadOasis(const TQDomElement &element, KoOasisContext & context, styleStack.attributeNS( KoXmlNS::fo, "text-shadow" ) != "none" ) { TQString distance = styleStack.attributeNS( KoXmlNS::fo, "text-shadow" ); - distance.truncate( distance.tqfind( ' ' ) ); + distance.truncate( distance.find( ' ' ) ); shadowDistance = (int)KoUnit::parseValue( distance ); shadowDirection = SD_RIGHT_BOTTOM; shadowColor= TQColor("#a0a0a0" ); @@ -1244,9 +1244,9 @@ void KPrObject::rotateObject(TQPainter *paint,KoTextZoomHandler *_zoomHandler) paint->setWorldMatrix( m, true ); } -bool KPrObject::tqcontains( const KoPoint &point ) const +bool KPrObject::contains( const KoPoint &point ) const { - return getRealRect().tqcontains( point ); + return getRealRect().contains( point ); } bool KPrObject::intersects( const KoRect &rect ) const |