Make ChatLine/-Items and ChatScene honor ChatView width.
[quassel.git] / src / qtui / chatscene.h
index 1ce9304..8122872 100644 (file)
@@ -42,16 +42,16 @@ class ChatScene : public QGraphicsScene {
     inline MessageModel *model() const { return _model; }
 
   public slots:
+    void setWidth(int);
 
   protected slots:
 
     void mousePressEvent ( QGraphicsSceneMouseEvent * mouseEvent );
 
   private:
-    //Buffer *_buffer;
-    //QList<ChatLine*> _lines;
+    int _width;
     MessageModel *_model;
-    QList<ChatItem *> _items;
+    QList<ChatLine *> _lines;
 
 };