diff options
author | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-20 12:22:40 (GMT) |
---|---|---|
committer | Catalin Badea <catalin.badea392@gmail.com> | 2012-07-20 12:22:40 (GMT) |
commit | 9ccedec3844df80241c65dc6fb24d97efc2f41fc (patch) | |
tree | b7dd0ffacb6817a383c8d86e42eb0917dd5bd240 /Swift/QtUI/QtHistoryWindow.h | |
parent | 32672b49d8ec454a3ffc94031bb973c6cfa7f862 (diff) | |
download | swift-contrib-9ccedec3844df80241c65dc6fb24d97efc2f41fc.zip swift-contrib-9ccedec3844df80241c65dc6fb24d97efc2f41fc.tar.bz2 |
continous scroll between dates.
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.h')
-rw-r--r-- | Swift/QtUI/QtHistoryWindow.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Swift/QtUI/QtHistoryWindow.h b/Swift/QtUI/QtHistoryWindow.h index 9a887bf..97b9866 100644 --- a/Swift/QtUI/QtHistoryWindow.h +++ b/Swift/QtUI/QtHistoryWindow.h @@ -23,7 +23,7 @@ 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); + 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 closeEvent(QCloseEvent* event); @@ -44,7 +44,6 @@ namespace Swift { QtChatView* conversation_; QtTreeWidget* conversationRoster_; std::set<QDate> dates_; - QDate currentDate_; int idCounter_; }; } |