equal
deleted
inserted
replaced
81 void addLine(const QString & cssClass, QString line, bool isHighlight = false); |
81 void addLine(const QString & cssClass, QString line, bool isHighlight = false); |
82 bool parseCommand(const QString & line); |
82 bool parseCommand(const QString & line); |
83 void discardStyleSheet(); |
83 void discardStyleSheet(); |
84 void saveStyleSheet(); |
84 void saveStyleSheet(); |
85 QString linkedNick(const QString & nickname); |
85 QString linkedNick(const QString & nickname); |
|
86 void beforeContentAdd(); |
|
87 void afterContentAdd(); |
86 |
88 |
87 public slots: |
89 public slots: |
88 void onChatString(const QString& str); |
90 void onChatString(const QString& str); |
89 void onChatString(const QString& nick, const QString& str); |
91 void onChatString(const QString& nick, const QString& str); |
90 void onServerMessage(const QString& str); |
92 void onServerMessage(const QString& str); |
122 QString m_userNick; |
124 QString m_userNick; |
123 QString m_clickedNick; |
125 QString m_clickedNick; |
124 QList<QRegExp> m_highlights; ///< regular expressions used for highlighting |
126 QList<QRegExp> m_highlights; ///< regular expressions used for highlighting |
125 bool notify; |
127 bool notify; |
126 bool m_autoKickEnabled; |
128 bool m_autoKickEnabled; |
|
129 bool m_scrollToBottom; |
|
130 int m_scrollBarPos; |
127 |
131 |
128 private slots: |
132 private slots: |
129 void returnPressed(); |
133 void returnPressed(); |
130 void onBan(); |
134 void onBan(); |
131 void onKick(); |
135 void onKick(); |