summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--konq-plugins/domtreeviewer/domtreecommands.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/konq-plugins/domtreeviewer/domtreecommands.cpp b/konq-plugins/domtreeviewer/domtreecommands.cpp
index 68aab4a..0ee3d33 100644
--- a/konq-plugins/domtreeviewer/domtreecommands.cpp
+++ b/konq-plugins/domtreeviewer/domtreecommands.cpp
@@ -79,14 +79,18 @@ ManipulationCommandSignalEmitter* ManipulationCommand::mcse()
// == ChangedNodeSet ================================================
-namespace domtreeviewer {
-
-// collection of nodes for which to emit the nodeChanged signal
+namespace DOM {
+
inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2)
{
return (long)n1.handle() - (long)n2.handle() < 0;
}
+
+}
+
+namespace domtreeviewer {
+// collection of nodes for which to emit the nodeChanged signal
class ChangedNodeSet : public TQMap<DOM::Node, bool>
{
};