Is there a special way to manipulate a QDomElement so I can use it as an index in a QHash?

Qt Code:
  1. QHash<QDomElement, QTreeWidgetItem *> itemFromElement;
To copy to clipboard, switch view to plain text mode 

Chokes with no candidates. In the docs I see a qHash ( const T * key ) but it escapes me how to make QDomElement work in this case.

Bob