summaryrefslogtreecommitdiffstats
path: root/kig/modes
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
commitd8762de95349dc6edaa34db9bf699b367c1af6b1 (patch)
tree8c76a6ab8e4e92d13196cb11ddab2d0fb64ec680 /kig/modes
parent03458c4e2ca2e92deafe078d0e09e1acd4c4765f (diff)
downloadtdeedu-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/modes')
-rw-r--r--kig/modes/construct_mode.cc2
-rw-r--r--kig/modes/moving.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/kig/modes/construct_mode.cc b/kig/modes/construct_mode.cc
index d4702314..e9e2e5ad 100644
--- a/kig/modes/construct_mode.cc
+++ b/kig/modes/construct_mode.cc
@@ -489,7 +489,7 @@ void TestConstructMode::leftClickedObject( ObjectHolder* o, const TQPoint& p,
assert( mresult->imp()->inherits( TestResultImp::stype() ) );
parents.push_back(
new ObjectPropertyCalcer(
- mresult.get(), mresult->imp()->propertiesInternalNames().tqfindIndex( "test-result" ) ) );
+ mresult.get(), mresult->imp()->propertiesInternalNames().findIndex( "test-result" ) ) );
parents.back()->calc( mdoc.document() );
ObjectCalcer* ret = new ObjectTypeCalcer( TextType::instance(), parents );
diff --git a/kig/modes/moving.cc b/kig/modes/moving.cc
index d6f2c74b..7c3148da 100644
--- a/kig/modes/moving.cc
+++ b/kig/modes/moving.cc
@@ -164,7 +164,7 @@ void MovingMode::moveTo( const Coordinate& o, bool snaptogrid )
{
for( std::vector<ObjectCalcer*>::iterator i = d->emo.begin(); i != d->emo.end(); ++i )
{
- assert( d->refmap.tqfind( *i ) != d->refmap.end() );
+ assert( d->refmap.find( *i ) != d->refmap.end() );
Coordinate nc = d->refmap[*i] + ( o - d->pwwsm );
if ( snaptogrid ) nc = mdoc.document().coordinateSystem().snapToGrid( nc, mview );
(*i)->move( nc, mdoc.document() );