RSS: Cache number of unread articles in a feed instead of computing it every time.

Optimization to address issue #34.
This commit is contained in:
Christophe Dumez
2012-08-18 22:25:21 +03:00
parent 58bc10fc47
commit aecdc57cd4
8 changed files with 72 additions and 23 deletions

View File

@@ -64,6 +64,9 @@ public:
virtual void removeAllSettings() = 0;
virtual void saveItemsToDisk() = 0;
QStringList pathHierarchy() const;
protected:
uint m_unreadCount;
};
#endif // RSSFILE_H