Handle rowsInserted() and add new messages to the scene.
[quassel.git] / src / qtui / chatscene.h
index 8122872..fd72010 100644 (file)
@@ -45,11 +45,12 @@ class ChatScene : public QGraphicsScene {
     void setWidth(int);
 
   protected slots:
-
+    void rowsInserted(const QModelIndex &, int, int);
     void mousePressEvent ( QGraphicsSceneMouseEvent * mouseEvent );
 
   private:
-    int _width;
+    int _width, _height;
+    int _timestampWidth, _senderWidth;
     MessageModel *_model;
     QList<ChatLine *> _lines;