PDA

View Full Version : How to get a file's icon



sophister
24th April 2009, 16:52
Hi, I want to get a file's icon through QFileInfo or QFile, but I have run through the QT helper, I have not find a function to get a file's icon.
I will appriciate it if someone can give me a hand!!
Thanks in advance.

jpn
24th April 2009, 17:05
See QFileIconProvider.

sophister
24th April 2009, 17:22
Thanks very much!!
I have solved it with your help!!