#include <feed.h>
List of all members.
Detailed Description
represents a feed
Definition at line 62 of file feed.h.
Member Enumeration Documentation
the archiving modes:
- globalDefault: use default from Settings (default)
- keepAllArticles: Don't delete any articles
- disableArchiving: Don't save any articles except articles with keep flag set (equal to maxArticleNumber() == 0)
- limitArticleNumber: Save maxArticleNumber() articles, plus the ones with keep flag set
- limitArticleAge: Save articles not older than maxArticleAge() (or keep flag set)
Definition at line 76 of file feed.h.
Constructor & Destructor Documentation
default constructor
Definition at line 276 of file feed.cpp.
Member Function Documentation
returns the archiving mode which is used for this feed
Definition at line 702 of file feed.cpp.
converts ArchiveMode values to corresponding strings
Definition at line 104 of file feed.cpp.
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 tag is not null, only articles tagged with tag are returned
- Returns:
- sequence of articles
Implements Akregator::TreeNode.
Definition at line 192 of file feed.cpp.
returns the description of this feed
Definition at line 359 of file feed.cpp.
reimplement this in subclasses to do the actual notification called by articlesModified
Reimplemented from Akregator::TreeNode.
Definition at line 773 of file feed.cpp.
returns the favicon
Definition at line 347 of file feed.cpp.
starts fetching
Definition at line 548 of file feed.cpp.
emitted when a fetch is aborted
emitted when a feed URL was found by auto discovery
emitted when feed finished fetching
emitted when a fetch error occurred
returns whether a fetch error has occurred
Definition at line 363 of file feed.cpp.
Returns custom auto fetch interval of this feed.
- Returns:
- custom fetch interval in minutes, 0 if disabled
Definition at line 306 of file feed.cpp.
emitted when fetching started
returns the article with the given guid , or a null article if it not exists
Definition at line 187 of file feed.cpp.
creates a Feed object from a description in OPML format
Definition at line 125 of file feed.cpp.
returns the URL of the HTML page of this feed
Definition at line 355 of file feed.cpp.
returns the feed image
Definition at line 349 of file feed.cpp.
returns if the article archive of this feed is loaded
Definition at line 365 of file feed.cpp.
loads articles from archive
Definition at line 217 of file feed.cpp.
downloads the favicon
Definition at line 654 of file feed.cpp.
load the image from the cache if it is in there
Definition at line 209 of file feed.cpp.
if true , new articles are marked immediately as read instead of new/unread.
Useful for high-traffic feeds.
Definition at line 318 of file feed.cpp.
returns the maximum age of articles used for expiration by age (used in limitArticleAge archive mode)
- Returns:
- expiry age in days
Definition at line 310 of file feed.cpp.
returns the article count limit used in limitArticleNumber archive mode
Definition at line 314 of file feed.cpp.
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 757 of file feed.cpp.
sets the archiving mode for this feed
Definition at line 707 of file feed.cpp.
set if the feed has its custom fetch interval or uses the global setting
- Parameters:
-
enabled | true: use custom interval, false: use global default |
Definition at line 304 of file feed.cpp.
sets the description of this feed
Definition at line 361 of file feed.cpp.
sets the favicon (used in the tree view)
Definition at line 696 of file feed.cpp.
Sets custom auto fetch interval.
- Parameters:
-
interval | interval in minutes, -1 for disabling auto fetching |
Definition at line 308 of file feed.cpp.
sets the URL of the HTML page of this feed
Definition at line 357 of file feed.cpp.
if true, the linked URL is loaded directly in the article viewer instead of showing the description
Definition at line 337 of file feed.cpp.
sets the maximum age of articles used for expiration by age (used in limitArticleAge archive mode)
- Parameters:
-
maxArticleAge | expiry age in days |
Definition at line 312 of file feed.cpp.
sets the article count limit used in limitArticleNumber archive mode
Definition at line 316 of file feed.cpp.
sets the unread count for this feed
Definition at line 717 of file feed.cpp.
sets the url of the actual feed source (rss/rdf/atom file)
Definition at line 353 of file feed.cpp.
converts strings to ArchiveMode value if parsing fails, it returns ArchiveMode::globalDefault
Definition at line 260 of file feed.cpp.
returns whether this feed uses its own fetch interval or the global setting
- Returns:
true iff this feed has a custom fetch interval
Definition at line 302 of file feed.cpp.
returns the url of the actual feed source (rss/rdf/atom file)
Definition at line 351 of file feed.cpp.
The documentation for this class was generated from the following files:
|