akregator/src
Akregator::TagNode Class Reference
Inheritance diagram for Akregator::TagNode:

Detailed Description
Definition at line 45 of file tagnode.h.
Public Slots | |
virtual void | slotDeleteExpiredArticles () |
virtual void | slotMarkAllArticlesAsRead () |
virtual void | slotAddToFetchQueue (FetchQueue *queue, bool intervalFetchOnly=false) |
virtual void | slotArticlesAdded (TreeNode *node, const QValueList< Article > &list) |
virtual void | slotArticlesUpdated (TreeNode *node, const QValueList< Article > &list) |
virtual void | slotArticlesRemoved (TreeNode *node, const QValueList< Article > &list) |
virtual void | slotObservedDestroyed (TreeNode *node) |
Public Member Functions | |
TagNode (const Tag &tag, TreeNode *observed) | |
virtual | ~TagNode () |
virtual bool | accept (TreeNodeVisitor *visitor) |
virtual Tag | tag () const |
virtual QString | icon () const |
virtual int | unread () const |
virtual int | totalCount () const |
virtual QValueList< Article > | articles (const QString &tag=QString::null) |
virtual QStringList | tags () const |
virtual bool | isGroup () const |
virtual QDomElement | toOPML (QDomElement parent, QDomDocument document) const |
virtual TreeNode * | next () |
virtual void | setTitle (const QString &title) |
virtual void | tagChanged () |
Protected Member Functions | |
virtual void | doArticleNotification () |
virtual void | calcUnread () |
Constructor & Destructor Documentation
|
creates a tag node, showing articles with a specific tag, from a given node.
Definition at line 54 of file tagnode.cpp. |
Member Function Documentation
|
Returns a sequence of the articles this node contains.
For feed groups, this returns a concatenated list of all articles in the sub tree. If
Implements Akregator::TreeNode. Definition at line 123 of file tagnode.cpp. |
|
reimplement this in subclasses to do the actual notification called by articlesModified
Reimplemented from Akregator::TreeNode. Definition at line 174 of file tagnode.cpp. |
|
Helps the rest of the app to decide if node should be handled as group or not. Only use where necessary, use polymorphism where possible.
Implements Akregator::TreeNode. |
|
returns the next node in the tree. Calling next() unless it returns 0 iterates through the tree in pre-order Implements Akregator::TreeNode. Definition at line 139 of file tagnode.cpp. |
|
Sets the title of the node.
Reimplemented from Akregator::TreeNode. Definition at line 269 of file tagnode.cpp. |
|
does nothing for TagNode
Implements Akregator::TreeNode. Definition at line 169 of file tagnode.cpp. |
|
does nothing for TagNode
Implements Akregator::TreeNode. Definition at line 155 of file tagnode.cpp. |
|
marks all articles as read
Implements Akregator::TreeNode. Definition at line 160 of file tagnode.cpp. |
|
called by
Definition at line 283 of file tagnode.cpp. |
|
returns a list of all tags occurring in this node (sub tree for folders)
Implements Akregator::TreeNode. Definition at line 128 of file tagnode.cpp. |
|
reimplemented to return an invalid element
Implements Akregator::TreeNode. Definition at line 134 of file tagnode.cpp. |
|
returns the number of total articles in the node (for groups: the accumulated count of the subtree)
Implements Akregator::TreeNode. Definition at line 117 of file tagnode.cpp. |
|
The unread count, returns the number of new/unread articles in the node (for groups: the accumulated count of the subtree).
Implements Akregator::TreeNode. Definition at line 111 of file tagnode.cpp. |
The documentation for this class was generated from the following files: