--- 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();