akregator
feedlist.cpp
Go to the documentation of this file.
108 connect(node, SIGNAL(signalDestroyed(Akregator::TreeNode*)), m_list, SLOT(slotNodeDestroyed(Akregator::TreeNode*)));
109 connect( node, SIGNAL(signalChanged(Akregator::TreeNode*)), m_list, SIGNAL(signalNodeChanged(Akregator::TreeNode*)) );
117 connect(node, SIGNAL(signalChildAdded(Akregator::TreeNode*)), m_list, SLOT(slotNodeAdded(Akregator::TreeNode*)));
118 connect( node, SIGNAL(signalAboutToRemoveChild(Akregator::TreeNode*)), m_list, SIGNAL(signalAboutToRemoveNode(Akregator::TreeNode*)) );
119 connect(node, SIGNAL(signalChildRemoved(Akregator::Folder*,Akregator::TreeNode*)), m_list, SLOT(slotNodeRemoved(Akregator::Folder*,Akregator::TreeNode*)));
235 if (e.hasAttribute(QLatin1String("xmlUrl")) || e.hasAttribute(QLatin1String("xmlurl")) || e.hasAttribute(QLatin1String("xmlURL")) )
365 doc.appendChild( doc.createProcessingInstruction( QLatin1String("xml"), QLatin1String("version=\"1.0\" encoding=\"UTF-8\"") ) );
441 connect(d->rootNode, SIGNAL(signalChildAdded(Akregator::TreeNode*)), this, SLOT(slotNodeAdded(Akregator::TreeNode*)));
442 connect(d->rootNode, SIGNAL(signalAboutToRemoveChild(Akregator::TreeNode*)), this, SIGNAL(signalAboutToRemoveNode(Akregator::TreeNode*)));
443 connect(d->rootNode, SIGNAL(signalChildRemoved(Akregator::Folder*,Akregator::TreeNode*)), this, SLOT(slotNodeRemoved(Akregator::Folder*,Akregator::TreeNode*)));
444 connect( d->rootNode, SIGNAL(signalChanged(Akregator::TreeNode*)), this, SIGNAL(signalNodeChanged(Akregator::TreeNode*)) );
445 connect( d->rootNode, SIGNAL(signalChanged(Akregator::TreeNode*)), this, SLOT(rootNodeChanged()) );
495 FeedListManagementImpl::FeedListManagementImpl( const shared_ptr<FeedList>& list ) : m_feedList( list )
593 QString FeedListManagementImpl::addCategory( const QString& name, const QString& parentId ) const
void signalDestroyed(Akregator::FeedList *)
void signalNodeRemoved(Akregator::TreeNode *)
emitted when a node was removed from the list
FeedList(Akregator::Backend::Storage *storage)
Definition: feedlist.cpp:175
static Feed * fromOPML(QDomElement e, Akregator::Backend::Storage *storage)
creates a Feed object from a description in OPML format
Definition: feed.cpp:132
static Folder * fromOPML(const QDomElement &e)
creates a feed group parsed from a XML dom element.
Definition: folder.cpp:83
QList< const TreeNode * > findByTitle(const QString &title) const
Definition: feedlist.cpp:396
QStringList feeds(const QString &catId) const
Definition: feedlist.cpp:527
const Article findArticle(const QString &feedURL, const QString &guid) const
Definition: feedlist.cpp:337
Storage is the main interface to the article archive.
Definition: storage.h:43
Definition: feedlist.h:40
void signalAboutToRemoveNode(Akregator::TreeNode *)
QStringList categories() const
Definition: feedlist.cpp:517
virtual QDomElement toOPML(QDomElement parent, QDomDocument document) const =0
exports node and child nodes to OPML (with akregator settings)
void removeFeed(const QString &url, const QString &catId)
Definition: feedlist.cpp:575
QVector< const Folder * > folders() const
returns all folders in this list
Definition: feedlist.cpp:204
const Feed * findByURL(const QString &feedURL) const
returns a feed object for a given feed URL.
Definition: feedlist.cpp:321
void signalNodeChanged(Akregator::TreeNode *)
void setSubscriptionId(int id)
Definition: subscriptionlistjobs.cpp:130
QString xmlUrl() const
returns the url of the actual feed source (rss/rdf/atom file)
Definition: feed.cpp:374
QList< const TreeNode * > children() const
returns the (direct) children of this node.
Definition: folder.cpp:124
bool readFromOpml(const QDomDocument &doc)
reads an OPML document and appends the items to this list
Definition: feedlist.cpp:263
QString getCategoryName(const QString &catId) const
Definition: feedlist.cpp:606
QString addCategory(const QString &name, const QString &parentId) const
Definition: feedlist.cpp:593
static QString path_of_folder(const Folder *fol)
Definition: feedlist.cpp:505
void setFeedList(const boost::shared_ptr< FeedList > &list)
Definition: feedlist.cpp:500
void append(FeedList *list, Folder *parent=0, TreeNode *after=0)
appends another feed list as sub tree.
Definition: feedlist.cpp:343
void setXmlUrl(const QString &s)
sets the url of the actual feed source (rss/rdf/atom file)
Definition: feed.cpp:376
Represents a folder (containing feeds and/or other folders)
Definition: folder.h:44
const Folder * allFeedsFolder() const
Definition: feedlist.cpp:406
QList< const TreeNode * > namedChildren(const QString &title) const
Definition: folder.cpp:431
void addFeed(const QString &url, const QString &catId)
Definition: feedlist.cpp:543
A proxy class for Syndication::ItemPtr with some additional methods to assist sorting.
Definition: article.h:61
void unreadCountChanged(int unread)
Abstract base class for all kind of elements in the feed tree, like feeds and feed groups (and search...
Definition: treenode.h:59
void insertChild(TreeNode *node, TreeNode *after)
inserts node as child after child node after.
Definition: folder.cpp:180
Definition: fetchqueue.h:37
void addToFetchQueue(FetchQueue *queue, bool intervalOnly=false)
Definition: feedlist.cpp:486
Definition: article.h:39
FeedListManagementImpl(const boost::shared_ptr< FeedList > &list=boost::shared_ptr< FeedList >())
Definition: feedlist.cpp:495
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.