Thank you Gilles for fast answering, but this code is about how to retrieve tags from one image and I need to retrieve the tag tree containing all tags from digikam. <div><br></div><div>For example, let's say we have two photos in gpssync2 and we want that reverse geocoding tags country name as childs for "Places" tag. We select Places tag.</div>
<div><br></div><div>root Tag---Friends</div><div>             \--Places</div><div><br></div><div>And after applying reverse geocoding process, the tag tree will look like this:</div><div><br></div><div><div>root Tag---Friends</div>
<div>             \--Places---France</div></div><div>                           \--Germany</div><div><br></div><div>That's why I need digikam tag tree in kipi interface; to give the user the possibility to select where he wants to integrate new resulted tags in tag hierarchy.  </div>
<div><br></div><div>Best regards,</div><div><br></div><div>Gabriel</div>