41 #ifndef YQPkgProductList_h 42 #define YQPkgProductList_h 45 #include "YQPkgObjList.h" 80 ZyppProduct zyppProduct );
136 int statusCol()
const {
return _productList->statusCol(); }
137 int summaryCol()
const {
return _productList->summaryCol(); }
138 int versionCol()
const {
return _productList->versionCol(); }
139 int vendorCol()
const {
return _productList->
vendorCol(); }
156 ZyppProduct _zyppProduct;
160 #endif // ifndef YQPkgProductList_h virtual void applyChanges()
Propagate status changes in this list to other lists: Have the solver transact all products...
Abstract base class to display a list of zypp::ResObjects.
virtual ~YQPkgProductList()
Destructor.
YQPkgProductListItem(YQPkgProductList *productList, ZyppSel selectable, ZyppProduct zyppProduct)
Constructor.
void fillList()
Fill the product list.
int vendorCol() const
Returns the column for the product's vendor.
YQPkgProductList(QWidget *parent)
Constructor.
ZyppProduct zyppProduct() const
Returns the original zyppProduct object.
virtual ~YQPkgProductListItem()
Destructor.
ZyppSel selectable() const
Returns the original selectable within the package manager backend.
Display a list of zypp::Product objects.
YQPkgProductListItem * selection() const
Returns the currently selected item or 0 if there is none.
void addProductItem(ZyppSel selectable, ZyppProduct zyppProduct)
Add a product to the list.