change in KFileFilter?

Jens Herden jens at
Tue May 16 21:52:18 BST 2006


looking into KFileFilter I found:

setNameFilters( const QString& nameFilters, Qt::CaseSensitivity caseSensitive 
= Qt::CaseSensitive, const QChar& separator = ' ' );

I'd like to change this to accept a QStringList instead of a QString and a 
separator because there is also setMimeFilters which works this way and I 
think the API should be consistent here. And QDir has a method with the same 
name which also accepts a QStringList.

Is this OK?

If yes, can I just change the method or should I deprecate it and create a new 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list