41 #ifndef YQPkgConflictList_h
42 #define YQPkgConflictList_h
48 #include <QScrollArea>
50 #include <zypp/Resolver.h>
51 #include <zypp/ResolverProblem.h>
52 #include <zypp/ProblemSolution.h>
58 class YQPkgConflictResolution;
84 void fill( zypp::ResolverProblemList problemList );
94 int count()
const {
return _conflicts.count(); }
123 void saveToFile(
const QString filename,
bool interactive )
const;
127 QList<YQPkgConflict*> _conflicts;
128 QVBoxLayout *_layout;
154 zypp::ResolverProblem_Ptr
problem );
164 zypp::ResolverProblem_Ptr
problem()
const {
return _problem; }
180 void detailsExpanded();
202 zypp::ResolverProblem_Ptr _problem;
203 QLabel * _resolutionsHeader;
204 QList<zypp::ProblemSolution_Ptr> _resolutions;
205 QMap<QRadioButton *, zypp::ProblemSolution_Ptr> _solutions;
206 QMap<QLabel *, zypp::ProblemSolution_Ptr> _details;
207 QVBoxLayout * _layout;
210 #endif // ifndef YQPkgConflictList_h
YQPkgConflictList(QWidget *parent)
Display package dependency conflicts in a tree list and let the user choose how to resolve each confl...
void saveToFile(const QString filename, bool interactive) const
void saveToFile(QFile &file) const
zypp::ResolverProblem_Ptr problem() const
zypp::ProblemSolution_Ptr userSelectedResolution()
virtual ~YQPkgConflictList()
void askSaveToFile() const
void fill(zypp::ResolverProblemList problemList)
YQPkgConflict(QWidget *parent, zypp::ResolverProblem_Ptr problem)
Root item for each individual conflict.
Dialog that takes care of dependency checking and resolving conflicts.