File dialog filters

Thomas Baumgart thb at net-bembel.de
Sat Feb 13 18:54:35 UTC 2016


Hi,

On Saturday 13 February 2016 16:51:36 Christian Dávid wrote:

> Hi,
> 
> the latest review request 127057 made me think about using something like
> 
> QMimeDatabase db;
> db.mimeTypeForName("application/x-gnucash").filterString()
> 
> to create the filters. Then we do not need to manage the file extensions
> anymore and the translators have less work to do (the filterString is
> localized already). Also the translations are consistent in all apps.
> 
> What do you think? Is there a KDE policy about that?

Sounds very reasonable to me. About the policy: might be better to ask on kde-
devel at kde.org.

> [RR 127057] https://git.reviewboard.kde.org/r/127057/

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
There are only 10 types of people in the world: those who
understand binary arithmetic and those who don't.
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20160213/f24cfd80/attachment.sig>


More information about the KMyMoney-devel mailing list