This addds a whitelist of supported URL schemes to the KFileWidget
to be used by KDEPlatformFileDialog. The whitelist is used by the
KFilePlacesModel and KDirOperator to filter the displayed contents.
Details
Details
- Reviewers
dfaure mart - Group Reviewers
Plasma - Commits
- R241:6ab218dba91f: Add supportedSchemes feature
Diff Detail
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.
Comment Actions
Makes sense I guess.
Sounds like it would be useful to set this through kiosk, would that work?
src/filewidgets/kdiroperator.cpp | ||
---|---|---|
2651 | only if d->supportedSchemes != schemes? |
Comment Actions
Probably, but I have zero experience about kiosk. I'd have to read the defaults from a settings file, is that it? Can you point me to where I should have a look?
src/filewidgets/kfilewidget.h | ||
---|---|---|
498 | All of these public methods should indicate that the default list is *empty* and that empty means "all schemes are supported". |
Comment Actions
I've committed this now. If someone tells me how to add KIOSK support, I can add that later on as needed