diff options
author | Vlad Voicu <vladvoic@gmail.com> | 2011-04-19 08:49:45 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-04-19 17:58:34 (GMT) |
commit | 18c1e44ad0a60e887a5b1f0d9a38e4be6ad2d722 (patch) | |
tree | 7bf0764a4474f9d70dc2cca769569ba31d1c1791 /Swift/QtUI/QtChatView.h | |
parent | 0f96561861ad00ee7a23cd1e368025c20811e1ba (diff) | |
download | swift-contrib-18c1e44ad0a60e887a5b1f0d9a38e4be6ad2d722.zip swift-contrib-18c1e44ad0a60e887a5b1f0d9a38e4be6ad2d722.tar.bz2 |
Use a bar to show where the last read messages in a chat are
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
Diffstat (limited to 'Swift/QtUI/QtChatView.h')
-rw-r--r-- | Swift/QtUI/QtChatView.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtChatView.h b/Swift/QtUI/QtChatView.h index 58b33df..ce12ca8 100644 --- a/Swift/QtUI/QtChatView.h +++ b/Swift/QtUI/QtChatView.h @@ -26,8 +26,8 @@ namespace Swift { Q_OBJECT public: QtChatView(QtChatTheme* theme, QWidget* parent); - void addMessage(boost::shared_ptr<ChatSnippet> snippet); + void addLastSeenLine(); void replaceLastMessage(const QString& newMessage); void replaceLastMessage(const QString& newMessage, const QString& note); void rememberScrolledToBottom(); @@ -63,6 +63,7 @@ namespace Swift { QtChatTheme* theme_; QWebElement newInsertPoint_; + QWebElement lineSeparator_; QWebElement lastElement_; QWebElement document_; }; |