X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatline.cpp;h=80b0d565cf41c1bc264f994b602679ffd4cc1b88;hp=22dd9a702cc59a7a513a0a5da3511f17cc8be685;hb=8961f348947fc55cc4bc769563684af3f2ea7ccc;hpb=79bce57a20e7d4226f3c33760ded9095d66a1b50 diff --git a/src/qtui/chatline.cpp b/src/qtui/chatline.cpp index 22dd9a70..80b0d565 100644 --- a/src/qtui/chatline.cpp +++ b/src/qtui/chatline.cpp @@ -20,10 +20,20 @@ #include "chatline.h" +#include #include #include +#include +#include #include -#include +#include +#include + +class QAbstractItemModel; +class QGraphicsSceneMouseEvent; +class QGraphicsSceneHoverEvent; +class QPainter; +class QStyleOptionGraphicsItem; #include "bufferinfo.h" #include "buffersyncer.h" @@ -47,9 +57,8 @@ ChatLine::ChatLine(int row, const QPointF& contentsPos, QGraphicsItem* parent) : QGraphicsItem(parent) - , _row(row) - , // needs to be set before the items - _model(model) + , _row(row) // needs to be set before the items + , _model(model) , _contentsItem(contentsPos, contentsWidth, this) , _senderItem(QRectF(senderPos, QSizeF(senderWidth, _contentsItem.height())), this) , _timestampItem(QRectF(0, 0, timestampWidth, _contentsItem.height()), this)