<table><tr><td style="">dkurz created this revision.<br />dkurz added a reviewer: KDE PIM.<br />Herald added a project: KDE PIM.<br />Herald added a subscriber: kde-pim.<br />dkurz requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D16089">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The paintEvent method is already quite long, and calculating colors<br />
inline prohibits a lot of const uses. This commit factors it out into<br />
easily comprehensible small new methods, also making it more obvious<br />
where to look for agenda item coloring for future changes.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I tried all color settings for Agenda View and could not<br />
find different behavior with or without patch -- just as expected, as<br />
is a refactoring patch</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R76 PIM: Event Views</div></div></div><br /><div><strong>BRANCH</strong><div><div>agenda-view-color-style-changes</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D16089">https://phabricator.kde.org/D16089</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/agenda/agendaitem.cpp<br />
src/agenda/agendaitem.h</div></div></div><br /><div><strong>To: </strong>dkurz, KDE PIM<br /><strong>Cc: </strong>kde-pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>