[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't see that one. Thanks! I think that example should be in setMimeFilter \
too as it's a little more obvious to see there.<br><br><div><span \
class="gmail_quote">2007/8/27, Kevin Krammer <<a \
href="mailto:kevin.krammer@gmx.at"> kevin.krammer@gmx.at</a>>:</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>> Thanks Carlo and Kevin. I was trying to follow the sugestion of the \
docs, <br>> that specifying mime types was the preferred way. The documentation \
doesn't<br>> say how to specify multiple mimetypes in a string. I \
tried:<br>> "image/png\nimage/jpeg", "image/png:image/jpeg", \
"image/png|image/jpeg" and <br>> many others, no luck. Maybe i should \
ignore the sugestion in the docs and<br>> use shell globs?<br><br>One of the \
examples at setFilter (second code box) is this:<br><br> kfile->setFilter( \
"image/png text/html text/plain" ); <br><br>If it doesn'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>>> Visit <a \
href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> \
to unsubscribe <<<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