core: Fix highlight nick config save/load
authorShane Synan <digitalcircuit36939@gmail.com>
Mon, 16 Jul 2018 21:47:37 +0000 (16:47 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 17 Jul 2018 17:57:45 +0000 (19:57 +0200)
commitb3b83bb123fb3087eba7147539ec0e7a34c6258b
treea2835c2616f27f517d028aeb5a6cb784bc38419c
parentcefad53d40b08c4271a2150533b747c3ca64b735
core: Fix highlight nick config save/load

Modernize CoreHighlightRuleManager to use the conventions of
DccConfig, saving/loading via SyncableObject serialization handling
for load/save.

This simplifies the code and fixes highlight nick configuration
(highlightNick, nicksCaseSensitive) not being persisted after core
restart.

Add some documentation, too.

Fixes regression from 17c39210b1bce04795046657642de66292518fe6.
src/core/corehighlightrulemanager.cpp
src/core/corehighlightrulemanager.h