akregator/src
Akregator::Backend::StorageDummyImpl Class Reference
#include <storagedummyimpl.h>
Inheritance diagram for Akregator::Backend::StorageDummyImpl:

Detailed Description
Metakit implementation of Storage interface.
Definition at line 37 of file storagedummyimpl.h.
Public Member Functions | |
StorageDummyImpl () | |
StorageDummyImpl (const StorageDummyImpl &) | |
StorageDummyImpl & | operator= (const StorageDummyImpl &) |
virtual | ~StorageDummyImpl () |
virtual void | initialize (const QStringList ¶ms) |
virtual bool | open (bool autoCommit=false) |
virtual bool | commit () |
virtual bool | rollback () |
virtual bool | close () |
virtual FeedStorage * | archiveFor (const QString &url) |
virtual bool | autoCommit () const |
virtual int | unreadFor (const QString &url) |
virtual void | setUnreadFor (const QString &url, int unread) |
virtual int | totalCountFor (const QString &url) |
virtual void | setTotalCountFor (const QString &url, int total) |
virtual int | lastFetchFor (const QString &url) |
virtual void | setLastFetchFor (const QString &url, int lastFetch) |
virtual QStringList | feeds () const |
virtual void | storeFeedList (const QString &opmlStr) |
virtual QString | restoreFeedList () const |
virtual void | storeTagSet (const QString &xmlStr) |
virtual QString | restoreTagSet () const |
virtual void | add (Storage *source) |
virtual void | clear () |
Protected Slots | |
virtual void | slotCommit () |
Member Function Documentation
|
adds all feed storages from a source to this storage existing articles are replaced
Implements Akregator::Backend::Storage. Definition at line 157 of file storagedummyimpl.cpp. |
|
Implements Akregator::Backend::Storage. Definition at line 144 of file storagedummyimpl.cpp. |
|
deletes all feed storages in this archive
Implements Akregator::Backend::Storage. Definition at line 167 of file storagedummyimpl.cpp. |
|
Closes storage, freeing all allocated resources. Called from destructor, so you don't need to call it directly.
Implements Akregator::Backend::Storage. Definition at line 81 of file storagedummyimpl.cpp. |
|
Commit changes made in feeds and articles, making them persistent.
Implements Akregator::Backend::Storage. Definition at line 91 of file storagedummyimpl.cpp. |
|
returns a list of all feeds (URLs) stored in this archive
Implements Akregator::Backend::Storage. Definition at line 152 of file storagedummyimpl.cpp. |
|
initializes the storage object with given parameters
Implements Akregator::Backend::Storage. Definition at line 69 of file storagedummyimpl.cpp. |
|
Open storage and prepare it for work.
Implements Akregator::Backend::Storage. Definition at line 71 of file storagedummyimpl.cpp. |
|
Rollback changes made in feeds and articles, reverting to last committed values.
Implements Akregator::Backend::Storage. Definition at line 96 of file storagedummyimpl.cpp. |
|
stores the feed list in the storage backend. This is a fallback for the case that the feeds.opml file gets corrupted
Implements Akregator::Backend::Storage. Definition at line 177 of file storagedummyimpl.cpp. |
The documentation for this class was generated from the following files: