X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatscene.h;h=6595ea4ff6772899766a22f62e04871284542777;hp=78cce78e68cb6442f7d59dd9158b24f5d17ce6d2;hb=7156691fecfbc44a67d0ec6055d2e892a7eb42de;hpb=064dcac965d1e724a0434683685a24ec7e6ba855 diff --git a/src/qtui/chatscene.h b/src/qtui/chatscene.h index 78cce78e..6595ea4f 100644 --- a/src/qtui/chatscene.h +++ b/src/qtui/chatscene.h @@ -108,7 +108,7 @@ public: public slots: void updateForViewport(qreal width, qreal height); void setWidth(qreal width); - void layout(qreal width = -1); + void layout(int start, int end, qreal width); // these are used by the chatitems to notify the scene and manage selections void setSelectingItem(ChatItem *item); @@ -142,6 +142,7 @@ protected: protected slots: void rowsInserted(const QModelIndex &, int, int); void rowsAboutToBeRemoved(const QModelIndex &, int, int); + void dataChanged(const QModelIndex &, const QModelIndex &); private slots: void firstHandlePositionChanged(qreal xpos);