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

List:       kde-devel
Subject:    Re: KFileDialog::getOpenFileName question
From:       "Elio Cuevas" <elcugo () gmail ! com>
Date:       2007-08-28 0:17:34
Message-ID: a29e06b20708271717r2848f342t2162f99be2eb8108 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I didn't see that one. Thanks! I think that example should be in
setMimeFilter too as it's a little more obvious to see there.

2007/8/27, Kevin Krammer <kevin.krammer@gmx.at>:
>
>
> On Tuesday 28 August 2007, Elio Cuevas wrote:
> > Thanks Carlo and Kevin. I was trying to follow the sugestion of the
> docs,
> > that specifying mime types was the preferred way. The documentation
> doesn't
> > say how to specify multiple mimetypes in a string. I tried:
> > "image/png\nimage/jpeg", "image/png:image/jpeg", "image/png|image/jpeg"
> and
> > many others, no luck. Maybe i should ignore the sugestion in the docs
> and
> > use shell globs?
>
> One of the examples at setFilter (second code box) is this:
>
> kfile->setFilter( "image/png text/html text/plain" );
>
> If it doesn't work as advertised there is either a bug in the code or in
> the
> docs :)
>
> Cheers,
> Kevin
>
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring
>
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>
>

[Attachment #5 (text/html)]

I didn&#39;t see that one. Thanks! I think that example should be in setMimeFilter \
too as it&#39;s a little more obvious to see there.<br><br><div><span \
class="gmail_quote">2007/8/27, Kevin Krammer &lt;<a \
href="mailto:kevin.krammer@gmx.at"> kevin.krammer@gmx.at</a>&gt;:</span><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"><br>On Tuesday 28 August 2007, Elio Cuevas \
wrote:<br>&gt; Thanks Carlo and Kevin. I was trying to follow the sugestion of the \
docs, <br>&gt; that specifying mime types was the preferred way. The documentation \
doesn&#39;t<br>&gt; say how to specify multiple mimetypes in a string. I \
tried:<br>&gt; &quot;image/png\nimage/jpeg&quot;, &quot;image/png:image/jpeg&quot;, \
&quot;image/png|image/jpeg&quot; and <br>&gt; many others, no luck. Maybe i should \
ignore the sugestion in the docs and<br>&gt; use shell globs?<br><br>One of the \
examples at setFilter (second code box) is this:<br><br> kfile-&gt;setFilter( \
&quot;image/png text/html text/plain&quot; ); <br><br>If it doesn&#39;t work as \
advertised there is either a bug in the code or in the<br>docs \
:)<br><br>Cheers,<br>Kevin<br><br>--<br>Kevin Krammer, KDE developer, xdg-utils \
developer<br>KDE user support, developer mentoring <br><br><br>&gt;&gt; Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe &lt;&lt;<br><br><br></blockquote></div><br>



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