[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Pixmap given a file name?
From: Simon Hausmann <tronical () gmx ! net>
Date: 1999-08-11 21:47:27
[Download RAW message or body]
On Wed, 11 Aug 1999, Gary Meyer wrote:
>
> I need something like:
>
> const QPixmap* getIcon(const QString& pathName) const;
>
> To display a best icon given a file name. I haven't been able to find
> anything. Any tips?
You mean you want to get a "best" icon for a given URL?
So that /home/joe/foo.html returns a nice icon for HTML documents for
example?
libkio's KMimeType/KPixmapCache is your friend then.
Greetings,
Simon
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic