#include <MP7ListViewItem.hpp>
Public Member Functions | |
| MP7ListViewItem (QListView *parent) | |
| MP7ListViewItem (MP7ListViewItem *parent, MP7ListViewItem *after=NULL) | |
Insert this item after after in parent's list of children. | |
| MP7ListViewItem (MP7ListViewItem *parent, QDomElement elem, MP7ListViewItem *after=NULL) | |
Insert this item after after in parent's list of children and create a corresponding element elem in the QDom tree. | |
| MP7ListViewItem (MP7ListViewItem *parent, int pos, QDomElement elem) | |
Construct this item in position pos in the parent's list of children. | |
| virtual | ~MP7ListViewItem () |
| Destructor. | |
| void | setDomElement (const QDomElement &elem) |
| Set the XML element corresponding to this item. | |
| QDomElement | domElement () const |
| Return the XML element corresponding to this item. | |
| MP7ListViewItem * | prevSibling () const |
| Return the previous sibling of this item. | |
Each instance of this class is associated with an XML element in a QDom tree.
Please note: The QListView object containing instances of this class must not allow sorting of items (see QListView::setSorting()), because this class assumes a 1-1 correspondence between the child node order in the list view and QDom trees.
|
|
|
|
||||||||||||
|
Insert this item after
If
|
|
||||||||||||||||
|
Insert this item after
If |
|
||||||||||||||||
|
Construct this item in position
|
|
|
Destructor. Removes the associated QDomElement, too. |
|
|
Return the previous sibling of this item.
|
|
|
Set the XML element corresponding to this item. The element must already be a node of the XML DOM tree. |
1.3.2