[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: getting Pixmaps by name?
From: Kuba Ober <kuba () mareimbrium ! org>
Date: 2003-12-30 13:30:41
Message-ID: 200312300830.41846.kuba () mareimbrium ! org
[Download RAW message or body]
On Saturday 27 December 2003 04:59 pm, Dominic Chambers wrote:
> I need to get a KPixmap/QPixmap object using just it's name ('launch').
> Anyone know how this is done?
QPixmap p = QPixmap::fromMimeSource("name");
If by "using its name" you mean that it will be either loaded from disk or
produced by the default MIME factory.
Cheers, Kuba
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic