43 #define YUILogComponent "qt-pkg"
46 #include "YQPkgUpdateProblemFilterView.h"
50 #include <zypp/ZYppFactory.h>
51 #include <zypp/Resolver.h>
58 : QTextBrowser( parent )
62 <h2>Update Problem</h2>\n\
64 <font color='blue'>\n\
65 The packages in this list cannot be updated automatically.\n\
68 <p>Possible reasons:</p>\n\
70 <li>They are obsoleted by other packages\n\
71 <li>There is no newer version to update to on any installation media\n\
72 <li>They are third-party packages\n\
76 Please choose manually what to do with them.\n\
77 The safest course of action is to delete them.\n\
103 list<zypp::PoolItem> problemList = zypp::getZYpp()->resolver()->problematicUpdateItems();
105 for ( list<zypp::PoolItem>::const_iterator it = problemList.begin();
106 it != problemList.end();
109 ZyppPkg pkg = tryCastToZyppPkg( (*it).resolvable() );
117 yuiMilestone() <<
"Problematic package: "
118 << pkg->name() <<
"-" << pkg->edition().asString()
134 return ! zypp::getZYpp()->resolver()->problematicUpdateItems().empty();
138 #include "YQPkgUpdateProblemFilterView.moc"