43 #define YUILogComponent "qt-pkg"
45 #include <YUIException.h>
47 #include <QVBoxLayout>
50 #include "QY2ComboTabWidget.h"
51 #include "QY2LayoutUtils.h"
52 #include "YQPkgRepoFilterView.h"
53 #include "YQPkgRepoList.h"
54 #include "YQPkgSearchFilterView.h"
55 #include "YQPkgStatusFilterView.h"
64 YUI_CHECK_NEW( _repoList );
78 if ( selection && selection->
zyppRepo() )
80 return zypp::Repository::noRepository;
84 void YQPkgRepoFilterView::primaryFilter()
89 void YQPkgRepoFilterView::primaryFilterIfVisible()
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
This is a base class for filter views containing a secondary filter.
ZyppRepo zyppRepo() const
Returns the ZYPP repository this item corresponds to.
void filter()
Filter according to the view's rules and current selection.
YQPkgRepoFilterView(QWidget *parent)
Constructor.
void init(QWidget *primary_widget)
Initialize the primary widget.
virtual ~YQPkgRepoFilterView()
Destructor.
zypp::Repository selectedRepo() const
Current selected repository, or if nothing is selected.
Display a list of libzypp repositories.
YQPkgRepoListItem * selection() const
Returns the currently selected item or 0 if there is none.
- src
- YQPkgRepoFilterView.cc