QTfrontend/ui/widget/chatwidget.h
changeset 8451 8c7da08df048
parent 8430 5a5c34a75e1a
child 8759 1a4b9b9fe2b0
--- a/QTfrontend/ui/widget/chatwidget.h	Sun Jan 27 02:09:02 2013 +0100
+++ b/QTfrontend/ui/widget/chatwidget.h	Sun Jan 27 21:46:25 2013 +0400
@@ -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();