Refactoring: Pull Up Duplicate Code
authorromibi <romibi@bluewin.ch>
Fri, 10 Jun 2016 23:52:03 +0000 (01:52 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 28 Feb 2018 22:06:32 +0000 (23:06 +0100)
commit19740eba83b9d776d8f62cae02762ee3b08e3b67
tree1f8e720a64bf396cf98b369a583da56bd63719e7
parent26e6d2ac973b67ae227dfe36062c409a8e3fa5b3
Refactoring: Pull Up Duplicate Code

The event override for NickView and BufferView was Copy&Paste.
To reduce duplicate code i moved that to a new class (TreeViewTouch) now
between QTreeView and the mentioned Classes.

(cherry picked from commit de2c1a4f9bbae7070cf8fd8247db765a23d28a9c)
src/uisupport/CMakeLists.txt
src/uisupport/bufferview.cpp
src/uisupport/bufferview.h
src/uisupport/nickview.cpp
src/uisupport/nickview.h
src/uisupport/treeviewtouch.cpp [new file with mode: 0644]
src/uisupport/treeviewtouch.h [new file with mode: 0644]