QTfrontend/ui/widget/chatwidget.h
branchwebgl
changeset 8833 c13ebed437cb
parent 8451 8c7da08df048
child 8759 1a4b9b9fe2b0
--- a/QTfrontend/ui/widget/chatwidget.h	Wed Feb 20 02:21:58 2013 +0100
+++ b/QTfrontend/ui/widget/chatwidget.h	Tue Apr 02 21:00:57 2013 +0200
@@ -83,6 +83,8 @@
         void discardStyleSheet();
         void saveStyleSheet();
         QString linkedNick(const QString & nickname);
+        void beforeContentAdd();
+        void afterContentAdd();
 
     public slots:
         void onChatString(const QString& str);
@@ -124,6 +126,8 @@
         QList<QRegExp> m_highlights; ///< regular expressions used for highlighting
         bool notify;
         bool m_autoKickEnabled;
+        bool m_scrollToBottom;
+        int m_scrollBarPos;
 
     private slots:
         void returnPressed();