◆ NCPkgRepoTable()
| NCPkgRepoTable::NCPkgRepoTable |
( |
YWidget * |
parent, |
|
|
YTableHeader * |
tableHeader, |
|
|
NCPackageSelector * |
pkg |
|
) |
| |
A helper class to hold repository data in a neat table widget
- Parameters
-
| parent | A parent widget |
| opt | Widget options |
◆ addLine()
| void NCPkgRepoTable::addLine |
( |
ZyppRepo |
r, |
|
|
const std::vector< std::string > & |
cols |
|
) |
| |
|
virtual |
Add one line (with tag) to the repositories table
- Parameters
-
| ZyppRepo | Reference to zypp::Repository |
| cols | String std::vector with repository data (name + URL) |
◆ fillRepoList()
| bool NCPkgRepoTable::fillRepoList |
( |
| ) |
|
Add items to the repository list (assoc. product name, if any, and URL)
- Returns
- bool (always true;-) )
◆ findProductForRepo()
| ZyppProduct NCPkgRepoTable::findProductForRepo |
( |
ZyppRepo |
repo | ) |
|
Find single zypp::Product for this repository (null product if multiple products found)
- Parameters
-
- Returns
- ZyppProduct
◆ getRepo()
| ZyppRepo NCPkgRepoTable::getRepo |
( |
int |
index | ) |
|
Get repository reference from selected line's tag
- Parameters
-
| index | Index of selected table line |
- Returns
- ZyppRepo Associated zypp::Repository reference
◆ getTag()
Get tag of repository table line on current index, ( contains repository reference)
- Parameters
-
| index | Index of selected table line |
- Returns
- NCPkgRepoTag* Tag of selected line
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-4.0.0/src/NCPkgFilterRepo.h
- /home/abuild/rpmbuild/BUILD/libyui-ncurses-pkg-4.0.0/src/NCPkgFilterRepo.cc