| 396 | } |
| 397 | |
| 398 | void KUndo2Command::undoMergedCommands() |
| 399 | { |
| 400 | |
| 401 | undo(); |
| 402 | if (!mergeCommandsVector().isEmpty()) { |
| 403 | QVectorIterator<KUndo2Command*> it(mergeCommandsVector()); |
| 404 | it.toFront(); |
| 405 | while (it.hasNext()) { |
| 406 | KUndo2Command* cmd = it.next(); |
| 407 | cmd->undoMergedCommands(); |
| 408 | } |
| 409 | } |
| 410 | } |
| 411 | |
| 412 | void KUndo2Command::redoMergedCommands() |
| 413 | { |