From 47fa21aff1e1b1226767c956953bc0517d52d42e Mon Sep 17 00:00:00 2001 From: David Faure Date: Thu, 23 Nov 2006 21:50:16 +0000 Subject: Some suggestions in comments to avoid porting code when we can share existing ported code instead. svn path=/trunk/playground/utils/dolphin/; revision=607265 --- src/undomanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/undomanager.cpp') diff --git a/src/undomanager.cpp b/src/undomanager.cpp index d4a4574a0..cf7d97713 100644 --- a/src/undomanager.cpp +++ b/src/undomanager.cpp @@ -37,6 +37,8 @@ DolphinCommand::DolphinCommand() : // Instead of expressing this implementation detail to the interface by adding a // Type::Undefined just Type::Copy is used to assure that all members have // a defined state. + // + // KDE4TODO: QList doesn't require a default constructor iirc - so remove this } DolphinCommand::DolphinCommand(Type type, @@ -106,6 +108,8 @@ void UndoManager::endMacro() m_recordMacro = false; } +// KDE4 TODO: consider switching to KCommandHistory (kdeui) for the command history, and to +// KonqCommandRecorder etc. from libkonq/konq_undo.* void UndoManager::undo() { if (m_recordMacro) { -- cgit v1.3