libyui-qt-pkg
2.42.5
|
Public Types | |
typedef std::map < QTreeWidgetItem *, QTreeWidgetItem * > | ItemMap |
typedef std::pair < QTreeWidgetItem *, QTreeWidgetItem * > | ItemPair |
typedef ItemMap::iterator | iterator |
Public Member Functions | |
ExcludedItems (YQPkgObjList *parent) | |
virtual | ~ExcludedItems () |
void | add (QTreeWidgetItem *item, QTreeWidgetItem *oldParent) |
void | remove (QTreeWidgetItem *item) |
void | clear () |
bool | contains (QTreeWidgetItem *item) |
QTreeWidgetItem * | oldParentItem (QTreeWidgetItem *item) |
int | size () const |
iterator | begin () |
iterator | end () |
Definition at line 777 of file YQPkgObjList.h.
YQPkgObjList::ExcludedItems::ExcludedItems | ( | YQPkgObjList * | parent | ) |
Constructor
Definition at line 1653 of file YQPkgObjList.cc.
|
virtual |
Destructor
Definition at line 1659 of file YQPkgObjList.cc.
void YQPkgObjList::ExcludedItems::add | ( | QTreeWidgetItem * | item, |
QTreeWidgetItem * | oldParent | ||
) |
Add a list item to the excluded items and transfer ownership to this class.
oldParent is the previous parent item of this item or 0 if it was a root item.
Definition at line 1665 of file YQPkgObjList.cc.
|
inline |
Returns an iterator that points to the first excluded item.
Definition at line 834 of file YQPkgObjList.h.
void YQPkgObjList::ExcludedItems::clear | ( | ) |
Clear the excluded items. Delete all items still excluded.
Definition at line 1682 of file YQPkgObjList.cc.
bool YQPkgObjList::ExcludedItems::contains | ( | QTreeWidgetItem * | item | ) |
Returns 'true' if the specified item is in the excluded items.
Definition at line 1695 of file YQPkgObjList.cc.
|
inline |
Returns an iterator that points after the last excluded item.
Definition at line 839 of file YQPkgObjList.h.
QTreeWidgetItem * YQPkgObjList::ExcludedItems::oldParentItem | ( | QTreeWidgetItem * | item | ) |
Returns the old parent of this item so it can be reparented or 0 if it was a root item.
Definition at line 1721 of file YQPkgObjList.cc.
void YQPkgObjList::ExcludedItems::remove | ( | QTreeWidgetItem * | item | ) |
Remove a list item from the excluded items and transfer ownership back to the caller.
Definition at line 1671 of file YQPkgObjList.cc.
|
inline |
Returns the number of items
Definition at line 829 of file YQPkgObjList.h.