KParts partviewer test app: add action list to switch parts
ClosedPublic

Authored by dfaure on Mar 11 2020, 2:43 AM.

Details

Summary

This is to show how an application would use partsForMimeType() in practice.
The other obvious usage is for keditfiletype itself, which only needs the list, and not to
actually load the part (it then lets the user reorder and it writes out into mimeapps.list).

Test Plan

bin/partviewer /tmp/foo.png, then look at the File menu for actions to switch parts.

Diff Detail

Repository
R306 KParts
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure requested review of this revision.Mar 11 2020, 2:43 AM
dfaure created this revision.
aacid accepted this revision.Mar 11 2020, 11:19 PM

Looks good to me :)

This revision is now accepted and ready to land.Mar 11 2020, 11:19 PM
This revision was automatically updated to reflect the committed changes.
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 21 2020, 10:00 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript