◆ cycleStatus()
bool PatchStatStrategy::cycleStatus |
( |
ZyppSel | slbPtr, |
|
|
ZyppObj | objPtr, |
|
|
ZyppStatus & | newStat_ret ) |
|
virtual |
Cycle the patch status (e.g. from selected to unselected)
Reimplemented from NCPkgStatusStrategy.
◆ keyToStatus()
bool PatchStatStrategy::keyToStatus |
( |
const int & | key, |
|
|
ZyppSel | slbPtr, |
|
|
ZyppObj | objPtr, |
|
|
ZyppStatus & | newStat ) |
|
virtual |
Returns the new status to the given key (respecting the old status of the patch).
- Parameters
-
key | The userinput (the key which is pressed) |
slbPtr | The object pointer (the patch pointer) |
newStatus | The new package status |
- Returns
- bool
Reimplemented from NCPkgStatusStrategy.
◆ setObjectStatus()
bool PatchStatStrategy::setObjectStatus |
( |
ZyppStatus | newstatus, |
|
|
ZyppSel | slbPtr, |
|
|
ZyppObj | objPtr ) |
|
virtual |
Sets the status of the patch AND the status of the patch packages
- Parameters
-
newStatus | The new package status |
slbPtr | The object pointer (e.g. a package pointer) |
- Returns
- bool
Reimplemented from NCPkgStatusStrategy.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-ncurses-pkg/src/NCPkgStatusStrategy.h
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-ncurses-pkg/src/NCPkgStatusStrategy.cc