Add KUrlRequester::setMimeTypeFilters.
ClosedPublic

Authored by dfaure on Feb 4 2017, 5:52 PM.

Details

Summary

Otherwise people need to call the deprecated fileDialog() method to set it,
which creates the file dialog too early.

Test Plan

It compiles.

Diff Detail

Repository
R241 KIO
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure updated this revision to Diff 10912.Feb 4 2017, 5:52 PM
dfaure retitled this revision from to Add KUrlRequester::setMimeTypeFilters..
dfaure updated this object.
dfaure edited the test plan for this revision. (Show Details)
dfaure added a reviewer: mlaurent.
dfaure added a subscriber: Frameworks.
Restricted Application added a project: Frameworks. · View Herald TranscriptFeb 4 2017, 5:52 PM
markg accepted this revision.Feb 4 2017, 6:44 PM
markg added a reviewer: markg.
markg added a subscriber: markg.

Looks good to me.

This revision is now accepted and ready to land.Feb 4 2017, 6:44 PM
This revision was automatically updated to reflect the committed changes.
cfeck added a subscriber: cfeck.Feb 5 2017, 3:03 AM
cfeck added inline comments.
src/widgets/kurlrequester.h
144

The APIDOX for these two functions are somehow swapped.

dfaure marked an inline comment as done.Feb 5 2017, 9:38 AM
dfaure added inline comments.
src/widgets/kurlrequester.h
144

Thanks for noticing, fixed.