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 | d8762de95349dc6edaa34db9bf699b367c1af6b1 (patch) | |
tree | 8c76a6ab8e4e92d13196cb11ddab2d0fb64ec680 /kig/filters/kseg-filter.cc | |
parent | 03458c4e2ca2e92deafe078d0e09e1acd4c4765f (diff) | |
download | tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.tar.gz tdeedu-d8762de95349dc6edaa34db9bf699b367c1af6b1.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/filters/kseg-filter.cc')
-rw-r--r-- | kig/filters/kseg-filter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/filters/kseg-filter.cc b/kig/filters/kseg-filter.cc index 27edc762..86c6cba8 100644 --- a/kig/filters/kseg-filter.cc +++ b/kig/filters/kseg-filter.cc @@ -362,7 +362,7 @@ KigDocument* KigFilterKSeg::load( const TQString& file ) if ( parents.size() != 1 ) KIG_FILTER_PARSE_ERROR; if ( !parents[0]->imp()->inherits( SegmentImp::stype() ) ) KIG_FILTER_PARSE_ERROR; - int index = parents[0]->imp()->propertiesInternalNames().tqfindIndex( "mid-point" ); + int index = parents[0]->imp()->propertiesInternalNames().findIndex( "mid-point" ); assert( index != -1 ); o = new ObjectPropertyCalcer( parents[0], index ); break; @@ -494,7 +494,7 @@ KigDocument* KigFilterKSeg::load( const TQString& file ) point = parents[1]; segment = parents[0]; }; - int index = segment->imp()->propertiesInternalNames().tqfindIndex( "length" ); + int index = segment->imp()->propertiesInternalNames().findIndex( "length" ); if ( index == -1 ) KIG_FILTER_PARSE_ERROR; ObjectPropertyCalcer* length = new ObjectPropertyCalcer( segment, index ); length->calc( *retdoc ); |