|
| NCPkgServiceTable (YWidget *parent, YTableHeader *tableHeader, NCPackageSelector *pkg) |
| A helper class to hold service data in a neat table widget. More...
|
|
virtual void | addLine (ZyppService r, const std::vector< std::string > &cols) |
| Add one line (with tag) to the services table. More...
|
|
void | fillHeader () |
|
NCPkgServiceTag * | getTag (int index) |
| Get tag of service table line on current index, (contains service reference) More...
|
|
ZyppService | getService (int index) |
| Get service reference from selected line's tag. More...
|
|
std::string | getDescription (ZyppService r) |
|
virtual NCursesEvent | wHandleInput (wint_t ch) |
|
bool | fillServiceList () |
| Add items to the service list (assoc. More...
|
|
void | showServicePackages () |
| Make the Package List show the packages for the currently selected service.
|
|
Definition at line 76 of file NCPkgFilterService.h.
◆ NCPkgServiceTable()
NCPkgServiceTable::NCPkgServiceTable |
( |
YWidget * |
parent, |
|
|
YTableHeader * |
tableHeader, |
|
|
NCPackageSelector * |
pkg |
|
) |
| |
A helper class to hold service data in a neat table widget.
- Parameters
-
parent | A parent widget |
tableHeader | table header |
pkg | the master object |
Definition at line 70 of file NCPkgFilterService.cc.
◆ addLine()
void NCPkgServiceTable::addLine |
( |
ZyppService |
r, |
|
|
const std::vector< std::string > & |
cols |
|
) |
| |
|
virtual |
Add one line (with tag) to the services table.
- Parameters
-
ZyppService | Reference to zypp::Service |
cols | String std::vector with service data (name + URL) |
Definition at line 119 of file NCPkgFilterService.cc.
◆ any_service()
bool NCPkgServiceTable::any_service |
( |
| ) |
|
|
static |
◆ fillServiceList()
bool NCPkgServiceTable::fillServiceList |
( |
| ) |
|
Add items to the service list (assoc.
product name, if any, and URL)
- Returns
- bool (always true ;-) )
Definition at line 209 of file NCPkgFilterService.cc.
◆ getDescription()
std::string NCPkgServiceTable::getDescription |
( |
ZyppService |
r | ) |
|
◆ getService()
ZyppService NCPkgServiceTable::getService |
( |
int |
index | ) |
|
Get service reference from selected line's tag.
- Parameters
-
index | Index of selected table line |
- Returns
- ZyppService Associated zypp::Service reference
Definition at line 175 of file NCPkgFilterService.cc.
◆ getTag()
Get tag of service table line on current index, (contains service reference)
- Parameters
-
index | Index of selected table line |
- Returns
- NCPkgServiceTag* Tag of selected line
Definition at line 149 of file NCPkgFilterService.cc.
The documentation for this class was generated from the following files: