┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/undomanager.cpp
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2006-11-23 21:50:16 +0000
committerDavid Faure <[email protected]>2006-11-23 21:50:16 +0000
commit47fa21aff1e1b1226767c956953bc0517d52d42e (patch)
treeb6e1880e0a7a2415b7d7ce1a4c6ef25f3486335b /src/undomanager.cpp
parent7fbae445277374fb2bacfcd7c04e8d7fbb2c3f05 (diff)
Some suggestions in comments to avoid porting code when we can share existing ported code instead.
svn path=/trunk/playground/utils/dolphin/; revision=607265
Diffstat (limited to 'src/undomanager.cpp')
-rw-r--r--src/undomanager.cpp4
1 files changed, 4 insertions, 0 deletions
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) {