Co ja vim...

This commit is contained in:
Martin Rotter 2014-01-25 21:55:48 +01:00
parent e8c063d6e4
commit a8e7d9d1c5
1 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,8 @@
class FeedsModelCategory;
class FeedsModelFeed;
class FeedsModelStandardCategory;
class FeedsModelStandardFeed;
typedef QList<QPair<int, FeedsModelCategory*> > CategoryAssignment;
typedef QPair<int, FeedsModelCategory*> CategoryAssignmentItem;
@ -51,6 +53,12 @@ class FeedsModel : public QAbstractItemModel {
bool editItem(const QModelIndex &index);
bool removeItem(const QModelIndex &index);
// TODO: addItself a removeItself z itemů
// asi přesunout do modelu a pro každej typ feedů/kanalu
// napsat skupinu metod na přidavani/upravu/mazani
// Standard feed/category manipulators.
//bool addStandardCategory(FeedsModelCategory *category);
// Returns (undeleted) messages for given feeds.
QList<Message> messagesForFeeds(const QList<FeedsModelFeed*> &feeds);