[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KFileDialog::getOpenFileName question
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2007-08-27 23:19:01
Message-ID: 200708280119.01564.kevin.krammer () gmx ! at
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
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
["signature.asc" (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