Move Clickable out of ContentsChatItem
authorManuel Nickschas <sputnick@quassel-irc.org>
Sat, 22 Aug 2009 16:29:43 +0000 (18:29 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 22 Aug 2009 16:29:43 +0000 (18:29 +0200)
commit55579f53f3bd37f2a20d9be7458bdc54b345a052
tree9dbc34b1066763bd0d568985a64973a5b3a0910e
parentb7ba7d253e27507af6e749ee48b42073493139c0
Move Clickable out of ContentsChatItem

We want to reuse this for the URL handling in the topic widget, so move this out of
ChatIteminto its own class (with proper encapsulation) and file.

As (the also new) ClickableList extends QList<Clickable>, we can continue to use it as
normal.
src/qtui/chatitem.cpp
src/qtui/chatitem.h
src/uisupport/CMakeLists.txt
src/uisupport/clickable.cpp [new file with mode: 0644]
src/uisupport/clickable.h [new file with mode: 0644]