An icon provider can be any function that takes a QString and returns a QIcon. This shall replace the setPixmapProvider to allow defining icons by name.
Details
Details
- Reviewers
dfaure - Group Reviewers
Frameworks - Maniphest Tasks
- T12310: Kill KUrlPixmapProvider and KPixmapProvider
- Commits
- R284:9fe2d187f8e9: [KHistoryComboBox] Add method to set an icon provider
Tested with KDirSelectDialog and a patched plasma-integration
Diff Detail
Diff Detail
- Repository
- R284 KCompletion
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.