summaryrefslogtreecommitdiffstats
path: root/kig/kig/kig_commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kig/kig/kig_commands.cpp')
-rw-r--r--kig/kig/kig_commands.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kig/kig/kig_commands.cpp b/kig/kig/kig_commands.cpp
index bcf26969..d4668f55 100644
--- a/kig/kig/kig_commands.cpp
+++ b/kig/kig/kig_commands.cpp
@@ -97,7 +97,7 @@ KigCommand* KigCommand::removeCommand( KigPart& doc, const std::vector<ObjectHol
if ( os.size() == 1 )
text = os.back()->imp()->type()->removeAStatement();
else
- text = i18n( "Remove %1 Objects" ).tqarg( os.size() );
+ text = i18n( "Remove %1 Objects" ).arg( os.size() );
KigCommand* ret = new KigCommand( doc, text );
ret->addTask( new RemoveObjectsTask( os ) );
return ret;
@@ -109,7 +109,7 @@ KigCommand* KigCommand::addCommand( KigPart& doc, const std::vector<ObjectHolder
if ( os.size() == 1 )
text = os.back()->imp()->type()->addAStatement();
else
- text = i18n( "Add %1 Objects" ).tqarg( os.size() );
+ text = i18n( "Add %1 Objects" ).arg( os.size() );
KigCommand* ret = new KigCommand( doc, text );
ret->addTask( new AddObjectsTask( os ) );
return ret;
@@ -181,11 +181,11 @@ void ChangeObjectConstCalcerTask::execute( KigPart& doc )
{
mnewimp = mcalcer->switchImp( mnewimp );
- std::set<ObjectCalcer*> alltqchildren = getAllChildren( mcalcer.get() );
- std::vector<ObjectCalcer*> alltqchildrenvect( alltqchildren.begin(), alltqchildren.end() );
- alltqchildrenvect = calcPath( alltqchildrenvect );
- for ( std::vector<ObjectCalcer*>::iterator i = alltqchildrenvect.begin();
- i != alltqchildrenvect.end(); ++i )
+ std::set<ObjectCalcer*> allchildren = getAllChildren( mcalcer.get() );
+ std::vector<ObjectCalcer*> allchildrenvect( allchildren.begin(), allchildren.end() );
+ allchildrenvect = calcPath( allchildrenvect );
+ for ( std::vector<ObjectCalcer*>::iterator i = allchildrenvect.begin();
+ i != allchildrenvect.end(); ++i )
( *i )->calc( doc.document() );
}
@@ -313,11 +313,11 @@ void ChangeParentsAndTypeTask::execute( KigPart& doc )
for ( std::vector<ObjectCalcer*>::iterator i = newparents.begin(); i != newparents.end(); ++i )
( *i )->calc( doc.document() );
d->o->calc( doc.document() );
- std::set<ObjectCalcer*> alltqchildren = getAllChildren( d->o );
- std::vector<ObjectCalcer*> alltqchildrenvect( alltqchildren.begin(), alltqchildren.end() );
- alltqchildrenvect = calcPath( alltqchildrenvect );
- for ( std::vector<ObjectCalcer*>::iterator i = alltqchildrenvect.begin();
- i != alltqchildrenvect.end(); ++i )
+ std::set<ObjectCalcer*> allchildren = getAllChildren( d->o );
+ std::vector<ObjectCalcer*> allchildrenvect( allchildren.begin(), allchildren.end() );
+ allchildrenvect = calcPath( allchildrenvect );
+ for ( std::vector<ObjectCalcer*>::iterator i = allchildrenvect.begin();
+ i != allchildrenvect.end(); ++i )
( *i )->calc( doc.document() );
}