summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Badea <catalin.badea392@gmail.com>2012-07-29 13:42:06 (GMT)
committerCătălin Badea <catalin.badea392@gmail.com>2012-08-11 15:59:13 (GMT)
commit94ff6ec9e699a2db97775063eb7fa2f6d24b281a (patch)
tree80d093df35ea27b258957130c53b859faad5e177 /Swift/QtUI/QtHistoryWindow.h
parentc0f0ab471345fe3f3a3517bb302c7da1549c8f25 (diff)
downloadswift-contrib-94ff6ec9e699a2db97775063eb7fa2f6d24b281a.zip
swift-contrib-94ff6ec9e699a2db97775063eb7fa2f6d24b281a.tar.bz2
Fix adding messages at the top.
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.h')
-rw-r--r--Swift/QtUI/QtHistoryWindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtHistoryWindow.h b/Swift/QtUI/QtHistoryWindow.h
index c813b82..13d3f14 100644
--- a/Swift/QtUI/QtHistoryWindow.h
+++ b/Swift/QtUI/QtHistoryWindow.h
@@ -23,8 +23,9 @@ namespace Swift {
~QtHistoryWindow();
void activate();
void setRosterModel(Roster*);
- void addMessage(const std::string &message, const std::string &senderName, bool senderIsSelf, const std::string& avatarPath, const boost::posix_time::ptime& time, bool addAtTheTop);
+ void addMessage(const std::string& message, const std::string& senderName, bool senderIsSelf, const std::string& avatarPath, const boost::posix_time::ptime& time, bool addAtTheTop);
void resetConversationView();
+ void resetConversationViewTopInsertPoint();
void setDate(const boost::gregorian::date& date);
void closeEvent(QCloseEvent* event);