Centrally add global Grantlee context properties
ClosedPublic

Authored by vkrause on Oct 3 2017, 10:08 AM.

Details

Summary

This way the individual render methods or plugins wont have to deal with
this anymore, and the Grantlee template become easier to re-use.

The next step is to replace the ad-hoc block properties with directly
exported MessagePart instances where possible, they are QObjects and even
have some of the needed properties already.

Diff Detail

Repository
R94 PIM: Message Library
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vkrause created this revision.Oct 3 2017, 10:08 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptOct 3 2017, 10:08 AM
Restricted Application added a subscriber: KDE PIM. · View Herald Transcript
knauss accepted this revision.Oct 3 2017, 1:17 PM

very usefull :)

This revision is now accepted and ready to land.Oct 3 2017, 1:17 PM
This revision was automatically updated to reflect the committed changes.