PDA

View Full Version : how to get file name?



tkms
17th March 2009, 11:47
I don't know how to get file name in treeview.

I want to take the name of the file which I appointed.

But I don't know how to get.

Is there any good method?

spirit
17th March 2009, 12:39
take a look at QString QFileInfo::fileName () const.