akregator/src

Akregator::NodeList Class Reference

Inheritance diagram for Akregator::NodeList:

Akregator::FeedList Akregator::TagNodeList List of all members.

Detailed Description

Definition at line 48 of file nodelist.h.


Public Slots

void clear ()
virtual void slotNodeDestroyed (TreeNode *node)
virtual void slotNodeAdded (TreeNode *node)
virtual void slotNodeRemoved (Folder *parent, TreeNode *node)

Signals

void signalDestroyed (NodeList *)
void signalNodeAdded (TreeNode *)
void signalNodeRemoved (TreeNode *)

Public Member Functions

 NodeList (QObject *parent=0, const char *name=0)
virtual ~NodeList ()
virtual FolderrootNode () const
virtual bool readFromXML (const QDomDocument &doc)=0
virtual QDomDocument toXML () const =0
virtual bool isEmpty () const
TreeNodefindByID (int id) const
const QString & title () const
void setTitle (const QString &name)
const QValueList< TreeNode * > & asFlatList () const
QValueList< TreeNode * > * flatList () const
QMap< int, TreeNode * > * idMap () const
int generateID ()
void setRootNode (Folder *folder)
virtual void addNode (TreeNode *node, bool preserveID)
virtual void removeNode (TreeNode *node)
 NodeList (const NodeList &)
NodeListoperator= (const NodeList &)

Public Attributes

NodeListPrivate * d

Friends

class AddNodeVisitor
class RemoveNodeVisitor

Member Function Documentation

const QValueList< TreeNode * > & Akregator::NodeList::asFlatList  )  const
 

returns a flat list containing all nodes in the tree

Definition at line 149 of file nodelist.cpp.

void Akregator::NodeList::clear  )  [slot]
 

Clears the list without touching the root node.

Definition at line 164 of file nodelist.cpp.

void Akregator::NodeList::setTitle const QString &  name  ) 
 

sets the title of the feed list

Definition at line 139 of file nodelist.cpp.

void Akregator::NodeList::signalNodeAdded TreeNode  )  [signal]
 

emitted when a node was added to the list

void Akregator::NodeList::signalNodeRemoved TreeNode  )  [signal]
 

emitted when a node was removed from the list

const QString & Akregator::NodeList::title  )  const
 

returns the title of the feed list (as used in the OPML document)

Definition at line 129 of file nodelist.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys