folder.h
static Folder * fromOPML(TQDomElement e)
creates a feed group parsed from a XML dom element.
Definition: folder.cpp:63
Folder(const TQString &title=TQString())
Creates a new folder with a given title.
Definition: folder.cpp:71
virtual bool isOpen() const
returns whether the feed group is opened or not.
Definition: folder.cpp:230
virtual TQValueList< Article > articles(const TQString &tag=TQString())
returns recursively concatenated articles of children
Definition: folder.cpp:108
virtual void doArticleNotification()
reimplement this in subclasses to do the actual notification called by articlesModified
Definition: folder.cpp:305
virtual void insertChild(TreeNode *node, TreeNode *after)
inserts node as child after child node after.
Definition: folder.cpp:138
virtual void slotDeleteExpiredArticles()
Delete expired articles recursively.
Definition: folder.cpp:289
virtual void slotMarkAllArticlesAsRead()
Mark articles of children recursively as read.
Definition: folder.cpp:267
virtual TQValueList< TreeNode * > children() const
returns the (direct) children of this node.
Definition: folder.cpp:133
virtual TreeNode * firstChild()
returns the first child of the group, 0 if none exist
Definition: folder.cpp:220
void signalChildRemoved(Folder *, TreeNode *)
emitted when a child was removed
virtual int unread() const
returns the number of unread articles in all children
Definition: folder.cpp:240
virtual void slotAddToFetchQueue(FetchQueue *queue, bool intervalFetchesOnly=false)
enqueues children recursively for fetching
Definition: folder.cpp:298
virtual bool isGroup() const
Helps the rest of the app to decide if node should be handled as group or not.
Definition: folder.h:80
virtual TQDomElement toOPML(TQDomElement parent, TQDomDocument document) const
converts the feed group into OPML format for save and export and appends it to node parent in documen...
Definition: folder.cpp:118
virtual TreeNode * lastChild()
returns the last child of the group, 0 if none exist
Definition: folder.cpp:225
virtual void slotChildChanged(TreeNode *node)
Called when a child was modified.
Definition: folder.cpp:276
virtual int totalCount() const
returns the number of articles in all children
Definition: folder.cpp:245
virtual void setOpen(bool open)
open/close the feed group (display it as expanded/collapsed in the tree view).
Definition: folder.cpp:235
virtual TQStringList tags() const
returns a list of all tags occurring in the subtree of this folder
Definition: folder.cpp:93
virtual void slotChildDestroyed(TreeNode *node)
Called when a child was destroyed.
Definition: folder.cpp:282
Abstract base class for all kind of elements in the feed tree, like feeds and feed groups (and search...
Definition: treenode.h:52