<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Andreas Pakulat wrotee
<blockquote cite="mid20061118093823.GB16501@morpheus.apaku.dnsalias.org"
type="cite">
<blockquote type="cite">
<pre wrap="">
I can detect if one of these elements is not in the new ElementTree, but, how
do I get the info needed
to call beginRemoveRows( QModelIndex parent, int row, int col). I can get the
row,col no problem,
but how can I get the deleted items parent QModelIndex?
</pre>
</blockquote>
<pre wrap=""><!---->
Well, you have to have some mapping from Element back to a proper index,
i.e. you need a way to get the index for an Element in the tree. Then
you can call parent() on that index.
Andres</pre>
</blockquote>
<br>
I remember reading something about how the indexes are temporary. I
was under the impression<br>
that they would go away and be re-created as needed? <br>
<br>
Matt<br>
</body>
</html>