12 #ifndef ZYPP_UI_SELFILTERS_H
13 #define ZYPP_UI_SELFILTERS_H
41 return obj && obj->kind() ==
_kind;
55 {
return obj && obj->name() ==
_name; }
64 {
return obj && !obj->installedEmpty(); }
71 {
return obj && obj->hasCandidateObj(); }
82 {
return obj && obj->status() ==
_status; }
96 #endif // ZYPP_UI_SELFILTERS_H
Status
UI status Status values calculated by Selectable.
ByKind(const ResObject::Kind &kind_r)
bool operator()(const ui::Selectable::constPtr &obj) const
ByStatus(Status status_r)
bool operator()(const ui::Selectable::constPtr &obj) const
bool operator()(const ui::Selectable::constPtr &obj) const
ByName(const std::string &name_r)
std::unary_function< Selectable::constPtr, bool > SelectableFilterFunctor
intrusive_ptr< const Selectable > constPtr
bool operator()(const Selectable::constPtr &obj) const
bool operator()(const ui::Selectable::constPtr &obj) const