Bring back KActivities support
ClosedPublic

Authored by elvisangelaccio on Jan 15 2019, 6:02 PM.

Details

Summary

This code has been unused since the KF5 port.

Diff Detail

Repository
R318 Dolphin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
Restricted Application added a project: Dolphin. · View Herald TranscriptJan 15 2019, 6:02 PM
Restricted Application added a subscriber: kfm-devel. · View Herald Transcript
elvisangelaccio requested review of this revision.Jan 15 2019, 6:02 PM

Note: I have no clue what KActivities::ResourceInstance actually does, but it doesn't seem to break anything either.

I have no clue what KActivities::ResourceInstance actually does, but it doesn't seem to break anything either.

It tells the system about what item (folder in this case) you're currently looking at.
This allows KActivitiesStats tracking about what folders are frequently viewed as well as enables the Quick Share plasmoid to function.
Arguably, for a file manager this isn't very useful, but it's in principle the same thing Gwenview and others do.

  • Added set_package_properties to explain the optional feature

I'll push in a week unless there are objections.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 18 2019, 8:32 PM
This revision was automatically updated to reflect the committed changes.