X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.h;h=fd72010670ece4e05d44a015e4831df34c333355;hp=1ce9304d5474a297a47e602550d8ffef020928e0;hb=da2b5b2e4e2b0ea1847a0a5f0cb4a3752fc655c9;hpb=cc7f376eb105f7bf931fb7f96c9601a7b3f69511 diff --git a/src/qtui/chatscene.h b/src/qtui/chatscene.h index 1ce9304d..fd720106 100644 --- a/src/qtui/chatscene.h +++ b/src/qtui/chatscene.h @@ -42,16 +42,17 @@ class ChatScene : public QGraphicsScene { inline MessageModel *model() const { return _model; } public slots: + void setWidth(int); protected slots: - + void rowsInserted(const QModelIndex &, int, int); void mousePressEvent ( QGraphicsSceneMouseEvent * mouseEvent ); private: - //Buffer *_buffer; - //QList _lines; + int _width, _height; + int _timestampWidth, _senderWidth; MessageModel *_model; - QList _items; + QList _lines; };