1 #include "latesttweetsfortime.h"
3 LatestTweetsForTime::LatestTweetsForTime()
4 : _postedDateTimeList()
8 const QList<QDateTime> LatestTweetsForTime::getPostedDateTimeList() const {
9 return _postedDateTimeList;
12 bool LatestTweetsForTime::appendPostedDateTimeList(QDateTime &dataTime) {
13 _postedDateTimeList.append(dataTime);
17 bool LatestTweetsForTime::replacePostedDateTimeList(QDateTime &dataTime) {
18 _postedDateTimeList.removeFirst();
19 _postedDateTimeList.append(dataTime);
23 bool LatestTweetsForTime::clear(){
24 _postedDateTimeList.clear();