summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatalin Badea <catalin.badea392@gmail.com>2012-07-20 12:22:40 (GMT)
committerCătălin Badea <catalin.badea392@gmail.com>2012-08-11 15:59:12 (GMT)
commit461ddac4c336524e2d3ecdb95ae23d5219b5304c (patch)
treedea7f0d8678623aee7693e89198b8e13b64d0981 /Swift/QtUI/QtHistoryWindow.h
parentca345562f5dee77024c661832eeaa9368737be2c (diff)
downloadswift-contrib-461ddac4c336524e2d3ecdb95ae23d5219b5304c.zip
swift-contrib-461ddac4c336524e2d3ecdb95ae23d5219b5304c.tar.bz2
continous scroll between dates.
Diffstat (limited to 'Swift/QtUI/QtHistoryWindow.h')
-rw-r--r--Swift/QtUI/QtHistoryWindow.h3
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_;
};
}