Handle font and palette changes in Dolphin list views

Review Request #115958 - Created Feb. 22, 2014 and submitted

Emmanuel Pescosta
315061, 329186
Handle font and palette changes in Dolphin list views.

Also update the font of the meta data widget in InformationPanelContent (smallest readable font).

DolphinItemListView already had a function updateFont(), I made it virtual protected and implemented the "base" function in KItemListView.

DolphinItemListView::updateFont() uses the custom font, if enabled, otherwise it falls back to KItemListView::updateFont(), to update the view.
KItemListView::updateFont() always uses the system font.

Also implemented (protected virtual) KItemListView::updatePalette() to handle color scheme changes.
Changing the color theme works.
Changing the font works.
Changing the font + custom font in Dolphin works.
Set the custom font back to system font in Dolphin, after the system font was updated, works.

So I think all cases work ;)
Frank Reininghaus
Commit Hook
This review has been submitted with commit f40b80a960de8a2db6110b6fa14db2d7182ad6c3 by Emmanuel Pescosta to branch master.
Emmanuel Pescosta
Review request changed

Status: Closed (submitted)