X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatwidget.h;h=e7d1782b030abf121ba99b40c49ad8a876eb7925;hp=801203c3068c481c71e62d341662599a55f606fb;hb=5319f3fbe69a63d1599107e0fc77ae325e4a9b6d;hpb=3e350f6ae66b8c5550909b140f81010df999c494 diff --git a/src/qtui/chatwidget.h b/src/qtui/chatwidget.h index 801203c3..e7d1782b 100644 --- a/src/qtui/chatwidget.h +++ b/src/qtui/chatwidget.h @@ -76,6 +76,7 @@ class ChatWidget : public QAbstractScrollArea { void scrollBarValChanged(int); void ensureVisible(int line); void handleScrollTimer(); + void viewportChanged(int newPos); private: BufferId bufferId; @@ -120,6 +121,8 @@ class ChatWidget : public QAbstractScrollArea { QString selectionToString(); void handleMouseMoveEvent(const QPoint &pos); + MsgId lastBacklogOffset; + int lastBacklogSize; }; #endif