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, 15 Jun 2016 19:53:16 +0000 (21:53 +0200)
commitde2c1a4f9bbae7070cf8fd8247db765a23d28a9c
treed744d27d02d30409c63a1d226ad3a97ddfeeb911
parent7582027d5f569c8487d17959d6aa9e6ca6d2aa33
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.
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]