Quote Originally Posted by vishal.chauhan View Post
But I donot know how to use it.
QList<TREEITEM *>list;
When I m using this like
list.qDeleteAll()
then it is giving error that QList<TREEITEM *> has no member name qDeleteAll()
qDeleteAll() is a function, so you call it like this:
Qt Code:
  1. qDeleteAll( list );
To copy to clipboard, switch view to plain text mode