diff options
Diffstat (limited to 'kig/misc/special_constructors.cc')
-rw-r--r-- | kig/misc/special_constructors.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kig/misc/special_constructors.cc b/kig/misc/special_constructors.cc index edc54b42..51ac346e 100644 --- a/kig/misc/special_constructors.cc +++ b/kig/misc/special_constructors.cc @@ -210,14 +210,14 @@ const int LocusConstructor::wantArgs( if ( dynamic_cast<ObjectTypeCalcer*>( os.front() ) && static_cast<ObjectTypeCalcer*>( os.front() )->type()->inherits( ObjectType::ID_ConstrainedPointType ) ) { - std::set<ObjectCalcer*> tqchildren = getAllChildren( os.front() ); - return tqchildren.find( os.back() ) != tqchildren.end() ? ret : ArgsParser::Invalid; + std::set<ObjectCalcer*> children = getAllChildren( os.front() ); + return children.find( os.back() ) != children.end() ? ret : ArgsParser::Invalid; } if ( dynamic_cast<ObjectTypeCalcer*>( os.back() ) && static_cast<ObjectTypeCalcer*>( os.back() )->type()->inherits( ObjectType::ID_ConstrainedPointType ) ) { - std::set<ObjectCalcer*> tqchildren = getAllChildren( os.back() ); - return tqchildren.find( os.front() ) != tqchildren.end() ? ret : ArgsParser::Invalid; + std::set<ObjectCalcer*> children = getAllChildren( os.back() ); + return children.find( os.front() ) != children.end() ? ret : ArgsParser::Invalid; } return ArgsParser::Invalid; } @@ -682,7 +682,7 @@ void PolygonBCVConstructor::handlePrelim( ptn = PointImp( where ); ptn.draw( p ); if ( i > 5 ) continue; - text = TextImp( TQString( "(%1)" ).tqarg(i), where, false ); + text = TextImp( TQString( "(%1)" ).arg(i), where, false ); text.draw( p ); } p.setStyle( Qt::DotLine ); @@ -752,13 +752,13 @@ TQString PolygonBCVConstructor::useText( const ObjectCalcer&, const std::vector< { TQString result = TQString( i18n( "Adjust the number of sides (%1/%2)" ) - ).tqarg( nsides ).tqarg( winding ); + ).arg( nsides ).arg( winding ); return result; } else { TQString result = TQString( i18n( "Adjust the number of sides (%1)" ) - ).tqarg( nsides ); + ).arg( nsides ); return result; } break; |