akregator
storagedummyimpl.cpp
Go to the documentation of this file.
83 for (QHash<QString, StorageDummyImplPrivate::Entry>::ConstIterator it = d->feeds.constBegin(); it != d->feeds.constEnd(); ++it)
155 d->feeds[url].feedStorage = new FeedStorageDummyImpl(url, const_cast<StorageDummyImpl*>( this ) );
177 for (QHash<QString, StorageDummyImplPrivate::Entry>::ConstIterator it = d->feeds.constBegin(); it != d->feeds.constEnd(); ++it)
FeedStorage * archiveFor(const QString &url)
Definition: storagedummyimpl.cpp:144
void setLastFetchFor(const QString &url, int lastFetch)
Definition: storagedummyimpl.cpp:132
QString restoreTagSet() const
Definition: storagedummyimpl.cpp:200
void initialize(const QStringList ¶ms)
initializes the storage object with given parameters
Definition: storagedummyimpl.cpp:69
void setTotalCountFor(const QString &url, int total)
Definition: storagedummyimpl.cpp:119
void storeTagSet(const QString &xmlStr)
Definition: storagedummyimpl.cpp:195
void slotCommit()
Definition: storagedummyimpl.cpp:140
Storage is the main interface to the article archive.
Definition: storage.h:43
bool rollback()
Rollback changes made in feeds and articles, reverting to last committed values.
Definition: storagedummyimpl.cpp:96
void storeFeedList(const QString &opmlStr)
stores the feed list in the storage backend.
Definition: storagedummyimpl.cpp:185
bool commit()
Commit changes made in feeds and articles, making them persistent.
Definition: storagedummyimpl.cpp:91
virtual QStringList feeds() const =0
returns a list of all feeds (URLs) stored in this archive
Definition: feedstorage.h:66
int unreadFor(const QString &url) const
Definition: storagedummyimpl.cpp:101
virtual void add(FeedStorage *source)=0
Appends all articles from another storage.
void setUnreadFor(const QString &url, int unread)
Definition: storagedummyimpl.cpp:106
QStringList feeds() const
returns a list of all feeds (URLs) stored in this archive
Definition: storagedummyimpl.cpp:160
StorageDummyImpl()
Definition: storagedummyimpl.cpp:61
~StorageDummyImpl()
Definition: storagedummyimpl.cpp:65
bool autoCommit() const
Definition: storagedummyimpl.cpp:76
virtual FeedStorage * archiveFor(const QString &url)=0
int lastFetchFor(const QString &url) const
Definition: storagedummyimpl.cpp:127
QString restoreFeedList() const
Definition: storagedummyimpl.cpp:190
void add(Storage *source)
adds all feed storages from a source to this storage existing articles are replaced ...
Definition: storagedummyimpl.cpp:165
int totalCountFor(const QString &url) const
Definition: storagedummyimpl.cpp:114
bool open(bool autoCommit=false)
Open storage and prepare it for work.
Definition: storagedummyimpl.cpp:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.