|
libyui-ncurses-pkg
2.50.7
|


Public Member Functions | |
| NCPkgRepoTable (YWidget *parent, YTableHeader *tableHeader, NCPackageSelector *pkg) | |
| A helper class to hold repository data in a neat table widget. More... | |
| virtual void | addLine (ZyppRepo r, const std::vector< std::string > &cols) |
| Add one line (with tag) to the repositories table. More... | |
| void | fillHeader () |
| NCPkgRepoTag * | getTag (const int &index) |
| Get tag of repository table line on current index, ( contains repository reference) More... | |
| ZyppRepo | getRepo (int index) |
| Get repository reference from selected line's tag. More... | |
| std::string | showDescription (ZyppRepo r) |
| virtual NCursesEvent | wHandleInput (wint_t ch) |
| ZyppProduct | findProductForRepo (ZyppRepo repo) |
| Find single zypp::Product for this repository (null product if multiple products found) More... | |
| bool | fillRepoList () |
| Add items to the repository list (assoc. More... | |
| bool | showRepoPackages () |
Definition at line 92 of file NCPkgFilterRepo.h.
| NCPkgRepoTable::NCPkgRepoTable | ( | YWidget * | parent, |
| YTableHeader * | tableHeader, | ||
| NCPackageSelector * | pkg | ||
| ) |
A helper class to hold repository data in a neat table widget.
| parent | A parent widget |
| opt | Widget options |
Definition at line 84 of file NCPkgFilterRepo.cc.

|
virtual |
Add one line (with tag) to the repositories table.
| ZyppRepo | Reference to zypp::Repository |
| cols | String std::vector with repository data (name + URL) |
Definition at line 121 of file NCPkgFilterRepo.cc.
| bool NCPkgRepoTable::fillRepoList | ( | ) |
Add items to the repository list (assoc.
product name, if any, and URL)
Definition at line 218 of file NCPkgFilterRepo.cc.

| ZyppProduct NCPkgRepoTable::findProductForRepo | ( | ZyppRepo | repo | ) |
Find single zypp::Product for this repository (null product if multiple products found)
| repo | zypp::Repository |
Definition at line 289 of file NCPkgFilterRepo.cc.
| ZyppRepo NCPkgRepoTable::getRepo | ( | int | index | ) |
Get repository reference from selected line's tag.
| index | Index of selected table line |
Definition at line 176 of file NCPkgFilterRepo.cc.

| NCPkgRepoTag * NCPkgRepoTable::getTag | ( | const int & | index | ) |
Get tag of repository table line on current index, ( contains repository reference)
| index | Index of selected table line |
Definition at line 150 of file NCPkgFilterRepo.cc.