|
|
@ -79,14 +79,18 @@ ManipulationCommandSignalEmitter* ManipulationCommand::mcse()
|
|
|
|
|
|
|
|
|
|
|
|
// == ChangedNodeSet ================================================
|
|
|
|
// == ChangedNodeSet ================================================
|
|
|
|
|
|
|
|
|
|
|
|
namespace domtreeviewer {
|
|
|
|
namespace DOM {
|
|
|
|
|
|
|
|
|
|
|
|
// collection of nodes for which to emit the nodeChanged signal
|
|
|
|
|
|
|
|
inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2)
|
|
|
|
inline static bool operator <(const DOM::Node &n1, const DOM::Node &n2)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return (long)n1.handle() - (long)n2.handle() < 0;
|
|
|
|
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>
|
|
|
|
class ChangedNodeSet : public TQMap<DOM::Node, bool>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
};
|
|
|
|
};
|
|
|
|