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
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
void signalDestroyed(Akregator::FeedList *)
void signalNodeRemoved(Akregator::TreeNode *)
emitted when a node was removed from the list
QDomProcessingInstruction createProcessingInstruction(const QString &target, const QString &data)
FeedList(Akregator::Backend::Storage *storage)
Definition: feedlist.cpp:175
QDomNode appendChild(const QDomNode &newChild)
void append(const T &value)
static Feed * fromOPML(QDomElement e, Akregator::Backend::Storage *storage)
creates a Feed object from a description in OPML format
Definition: feed.cpp:134
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
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
const T & at(int i) const
const QObjectList & children() const
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
QDomElement documentElement() const
const_iterator insert(const T &value)
void signalAboutToRemoveNode(Akregator::TreeNode *)
int size() const
QStringList categories() const
Definition: feedlist.cpp:517
QDomNode nextSibling() const
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
QDomElement toElement() const
int elapsed() const
QString number(int n, int base)
QVector< const Folder * > folders() const
returns all folders in this list
Definition: feedlist.cpp:204
void append(const T &value)
bool hasAttribute(const QString &name) const
Definition: feedlist.h:41
void setAttribute(const QString &name, const QString &value)
bool isEmpty() const
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:372
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
T & front()
Definition: article.h:41
QString getCategoryName(const QString &catId) const
Definition: feedlist.cpp:606
QString addCategory(const QString &name, const QString &parentId) const
Definition: feedlist.cpp:593
bool hasChildNodes() const
QString toLower() const
static QString path_of_folder(const Folder *fol)
Definition: feedlist.cpp:505
bool isNull() const
void setFeedList(const boost::shared_ptr< FeedList > &list)
Definition: feedlist.cpp:500
const T & at(int i) const
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:374
QDomNode firstChild() const
Represents a folder (containing feeds and/or other folders)
Definition: folder.h:44
T & last()
const Folder * allFeedsFolder() const
Definition: feedlist.cpp:406
QList< const TreeNode * > namedChildren(const QString &title) const
Definition: folder.cpp:431
QString left(int n) const
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:63
QList< T > toList() const
void start()
QString tagName() const
const_iterator constEnd() const
QDomElement createElement(const QString &tagName)
const_iterator constBegin() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int size() const
void unreadCountChanged(int unread)
int compare(const QString &other) const
Abstract base class for all kind of elements in the feed tree, like feeds and feed groups (and search...
Definition: treenode.h:58
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
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.