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

List:       kde-devel
Subject:    Re: How kde find a proper icon for a file with certain mimetype?
From:       "Dong Tiger" <idlecat511 () gmail ! com>
Date:       2008-08-30 2:59:13
Message-ID: cba868840808291959o10cb3d01iaff565349c2e7f30 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Sorry I didn't make question clear. I can't use KDE library in my program
but I want to show the same icon as KDE. So my question is where kde gets
the information to map mimetypes to icon names. Are there some configuratio=
n
files?

Thanks,
--
Tiger

2008/8/30 Rafael Fern=E1ndez L=F3pez <ereslibre@kde.org>

> Hi,
>
> > There must be a map from mimetypes to icon names. But I can't find wher=
e
> it
> > is. This question goes to both KDE4.x and KDE3.x.
>
> KMimeType::iconName()
> KMimeType::iconNameForUrl()
>
>
> Regards,
> Rafael Fern=E1ndez L=F3pez.
>

[Attachment #5 (text/html)]

<div dir="ltr">Sorry I didn&#39;t make question clear. I can&#39;t use KDE library in \
my program but I want to show the same icon as KDE. So my question is where kde gets \
the information to map mimetypes to icon names. Are there some configuration \
files?<br> <br>Thanks,<br>--<br>Tiger<br><br><div class="gmail_quote">2008/8/30 \
Rafael Fernández López <span dir="ltr">&lt;<a \
href="mailto:ereslibre@kde.org">ereslibre@kde.org</a>&gt;</span><br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d">Hi,<br>
<br>
&gt; There must be a map from mimetypes to icon names. But I can&#39;t find where \
it<br> &gt; is. This question goes to both KDE4.x and KDE3.x.<br>
<br>
</div>KMimeType::iconName()<br>
KMimeType::iconNameForUrl()<br>
<br>
<br>
Regards,<br>
<font color="#888888">Rafael Fernández López.<br>
</font></blockquote></div><br></div>



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