diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:10 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:10 -0600 |
commit | 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (patch) | |
tree | 34a73ef7b8771de54099eeffb941117e49a8865e /kig/modes/moving.cc | |
parent | 999f961ff5278b84c8ffd8a91addb9343e589cf0 (diff) | |
download | tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.tar.gz tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'kig/modes/moving.cc')
-rw-r--r-- | kig/modes/moving.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kig/modes/moving.cc b/kig/modes/moving.cc index 7c3148da..593c7077 100644 --- a/kig/modes/moving.cc +++ b/kig/modes/moving.cc @@ -143,8 +143,8 @@ MovingMode::MovingMode( const std::vector<ObjectHolder*>& os, const Coordinate& std::set<ObjectCalcer*> tmp = objs; for ( std::set<ObjectCalcer*>::const_iterator i = tmp.begin(); i != tmp.end(); ++i ) { - std::set<ObjectCalcer*> tqchildren = getAllChildren(*i); - objs.insert( tqchildren.begin(), tqchildren.end() ); + std::set<ObjectCalcer*> children = getAllChildren(*i); + objs.insert( children.begin(), children.end() ); } initScreen( calcPath( std::vector<ObjectCalcer*>( objs.begin(), objs.end() ) ) ); @@ -154,7 +154,7 @@ void MovingMode::stopMove() { TQString text = d->emo.size() == 1 ? d->emo[0]->imp()->type()->moveAStatement() : - i18n( "Move %1 Objects" ).tqarg( d->emo.size() ); + i18n( "Move %1 Objects" ).arg( d->emo.size() ); KigCommand* mc = new KigCommand( mdoc, text ); d->mon->finish( mc ); mdoc.history()->addCommand( mc ); @@ -182,8 +182,8 @@ PointRedefineMode::PointRedefineMode( ObjectHolder* p, KigPart& d, KigWidget& v std::vector<ObjectCalcer*> parents = getAllParents( mp->calcer() ); mmon = new MonitorDataObjects( parents ); std::vector<ObjectCalcer*> moving = parents; - std::set<ObjectCalcer*> tqchildren = getAllChildren( mp->calcer() ); - std::copy( tqchildren.begin(), tqchildren.end(), std::back_inserter( moving ) ); + std::set<ObjectCalcer*> children = getAllChildren( mp->calcer() ); + std::copy( children.begin(), children.end(), std::back_inserter( moving ) ); initScreen( moving ); } |