|
libyui-ncurses-pkg
2.43.4.1
|


Public Member Functions | |
| NCPkgRepoTable (YWidget *parent, YTableHeader *tableHeader, NCPackageSelector *pkg) | |
| virtual void | addLine (ZyppRepo r, const std::vector< std::string > &cols) |
| void | fillHeader () |
| NCPkgRepoTag * | getTag (const int &index) |
| ZyppRepo | getRepo (int index) |
| std::string | showDescription (ZyppRepo r) |
| virtual NCursesEvent | wHandleInput (wint_t ch) |
| ZyppProduct | findProductForRepo (ZyppRepo repo) |
| bool | fillRepoList () |
| 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 219 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 290 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 177 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 151 of file NCPkgFilterRepo.cc.