[Qt-interest] How to get an icon associated with a certain filetype using Qt?

Scott Aron Bloom Scott.Bloom at sabgroup.com
Mon Mar 22 22:58:21 CET 2010


QFileIconProvider works very well
Scott

-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Robert Hairgrove
Sent: Monday, March 22, 2010 2:02 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] How to get an icon associated with a certain
filetype using Qt?

Is there a platform-independent way of doing this? For example, I am 
displaying the file name of an email in PDF format in a list view and 
would like to display the Acrobat icon next to the file name if it is 
available in the user's system and registered for the application/pdf 
content-type.

Thanks...
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list