diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-12-23 14:17:23 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-12-24 08:24:11 -0800 |
commit | 1a4e7ad0dd29b9eeac2016933cb86bff260dadbb (patch) | |
tree | 92730f71f4d41207bb86fd81509fc7778f96108f /smtk-import | |
parent | 603e43f46ece939e732df14c501844e7bd983211 (diff) | |
download | subsurface-1a4e7ad0dd29b9eeac2016933cb86bff260dadbb.tar.gz |
Factor out *Filter code into FilterBase base class
The TagFilter, BuddyFilter, SuitFilter and LocationFilter classes
all did essentially the same thing. Therefore, factor out common
code / objects into a base class FilterBase.
The new base class stores a pointer to the filter model. It was
felt that this is simpler than introducing virtual methods.
The only thing the *Filter classes now do is setting a label and
in one case a tooltip. Thus, in principle, they could be removed
completely, but let's keep them for now.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'smtk-import')
0 files changed, 0 insertions, 0 deletions