[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 22:56:05
Message-ID: 200708280056.11797.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 28 August 2007, Elio Cuevas wrote:
> Hello!
>
> I have a doubt about how to specify multiple mime types in
> KFileDialog::getOpenFileName. The parameter "filter" is a QString and
> trying to pass it a QStringList doesn't seem to work.

See the link to the docs of method setFilter()
It has examples for adding description and for multiple filters within one 
string.

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