diff options
Diffstat (limited to 'karbon/commands/vdistributecmd.cc')
-rw-r--r-- | karbon/commands/vdistributecmd.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/karbon/commands/vdistributecmd.cc b/karbon/commands/vdistributecmd.cc index d6ceb200..d8e410b0 100644 --- a/karbon/commands/vdistributecmd.cc +++ b/karbon/commands/vdistributecmd.cc @@ -48,7 +48,7 @@ VDistributeCmd::execute() VObjectList objs = document()->selection()->objects(); VObjectListIterator itr( objs ); - QMap<double,VObject*> sortedPos; + TQMap<double,VObject*> sortedPos; // sort by position and calculate sum of objects widht/height for( ; itr.current(); ++itr ) @@ -89,7 +89,7 @@ VDistributeCmd::execute() double pos = 0.0, step = space / double(objs.count() - 1); VTranslateCmd *trafoCmd = 0L; - QMapIterator<double,VObject*> it = sortedPos.begin(), et = sortedPos.end(); + TQMapIterator<double,VObject*> it = sortedPos.begin(), et = sortedPos.end(); for( ; it != et; ++it ) { @@ -155,7 +155,7 @@ VDistributeCmd::execute() void VDistributeCmd::unexecute() { - QPtrListIterator<VTranslateCmd> itr( m_trafoCmds ); + TQPtrListIterator<VTranslateCmd> itr( m_trafoCmds ); for( ; itr.current() ; ++itr ) itr.current()->unexecute(); setSuccess( false ); |