Originally Posted by vishal.chauhan 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: Switch view qDeleteAll( list ); qDeleteAll( list ); To copy to clipboard, switch view to plain text mode
qDeleteAll( list );
Forum Rules
Bookmarks