change in KFileFilter?

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


Hi,

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 
one?

Jens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060517/19b62167/attachment.sig>


More information about the kde-core-devel mailing list