X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatline.cpp;h=80b0d565cf41c1bc264f994b602679ffd4cc1b88;hp=d0f39066528de19db698bbffe1edc02a6de49a15;hb=8961f348947fc55cc4bc769563684af3f2ea7ccc;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650 diff --git a/src/qtui/chatline.cpp b/src/qtui/chatline.cpp index d0f39066..80b0d565 100644 --- a/src/qtui/chatline.cpp +++ b/src/qtui/chatline.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2019 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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)