[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Using the icons I added to my project as data
From:       Mauricio Bahamonde <elkrammer () kde ! cl>
Date:       2005-05-29 17:42:09
Message-ID: 200505291342.11566.elkrammer () kde ! cl
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi,
	I added to my project in KDevelop some icons as Data, but now I don't know 
how to use them.
Do I need to use some KDE function to tell it to read my appdir or something?
I tried with:
Label->setPixmap( QPixmap("myicon.png") );
but obviously didn't work, it isn't loading it from the correct dir, and using 
a relative path sounds illogical to me, there must be a kde function to do 
it.

Thanks in advance.
Greetings,

-- 
Mauricio Bahamonde
<elkrammer@kde.cl>

The hardest thing to understand in the world is the income tax.
	-- Albert Einstein.

[Attachment #5 (application/pgp-signature)]

>> 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