Keep RSS articles sorted by date in memory do avoid sorting them all the time

Optimization to address issue #34.
This commit is contained in:
Christophe Dumez
2012-08-19 11:46:50 +03:00
parent aecdc57cd4
commit d1e30cacf8
8 changed files with 58 additions and 61 deletions

View File

@@ -62,8 +62,8 @@ public:
virtual QString displayName() const;
virtual QString id() const;
bool hasChild(const QString &childId);
virtual RssArticleList articleList() const;
virtual RssArticleList unreadArticleList() const;
virtual RssArticleList articleListByDateDesc() const;
virtual RssArticleList unreadArticleListByDateDesc() const;
virtual void removeAllSettings();
virtual void saveItemsToDisk();
void removeAllItems();