Skip to content

update API docs related to KFileFilter

Mark Penner requested to merge (removed):work/mrp/kfilefilterdox into master

Update the documentation since API changed in commit fb2a2268 and commit 623e88fa

I'm not sure how kencodingfiledialog.h should be updated. The documentation for KFileWidget::setFilter() had some examples but they were deleted in commit 623e88fa when it was changed to setFilters() and to use KFileFilter. kencodingfiledialog.cpp uses KFileFilter::fromFilterString() now, which is private so doesn't show in the API docs, and the doc for it is Convert a filter string understood by KFileWidget to a list of KFileFilters. which no longer makes sense because KFileWidget itself now uses KFileFilter. Should the removed examples be put somewhere in kfilefilter.h instead?

It's also possible I'm not understanding something, I just came across this while reading the API documentation for KFileWidget trying to understand how to use it.

Merge request reports

Loading