|
YQPkgPatchCategory | _category |
|
YQPkgPatchList * | _patchList |
|
ZyppPatch | _firstPatch |
|
◆ YQPkgPatchCategoryItem()
YQPkgPatchCategoryItem::YQPkgPatchCategoryItem |
( |
YQPkgPatchCategory |
category, |
|
|
YQPkgPatchList * |
patternList |
|
) |
| |
◆ ~YQPkgPatchCategoryItem()
YQPkgPatchCategoryItem::~YQPkgPatchCategoryItem |
( |
| ) |
|
|
virtual |
◆ addPatch()
void YQPkgPatchCategoryItem::addPatch |
( |
ZyppPatch |
patch | ) |
|
Add a pattern to this category. This method sets firstPatch() if necessary.
◆ asString()
QString YQPkgPatchCategoryItem::asString |
( |
YQPkgPatchCategory |
category | ) |
|
|
static |
Converts a patch category to a user-readable (translated) string.
◆ category()
YQPkgPatchCategory YQPkgPatchCategoryItem::category |
( |
| ) |
const |
|
inline |
Category (and order ) for this item
◆ firstPatch()
ZyppPatch YQPkgPatchCategoryItem::firstPatch |
( |
| ) |
const |
|
inline |
Returns the first pattern. This should be the first in sort order.
◆ operator<()
bool YQPkgPatchCategoryItem::operator< |
( |
const QTreeWidgetItem & |
other | ) |
const |
|
virtual |
◆ patchCategory()
YQPkgPatchCategory YQPkgPatchCategoryItem::patchCategory |
( |
QString |
category | ) |
|
|
static |
Maps a string patch category to the corresponding enum.
◆ setTreeIcon()
void YQPkgPatchCategoryItem::setTreeIcon |
( |
void |
| ) |
|
|
protected |
Set a suitable tree open/close icon depending on this category's open/close status.
The default QListView plus/minus icons would require treeStepSize() to be set >0 and rootItemDecorated( true ), but that would look very ugly in this context, so the pattern categories paint their own tree open / close icons.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgPatchList.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-qt-pkg/src/YQPkgPatchList.cc