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