00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef YQPkgDependenciesView_h
00023 #define YQPkgDependenciesView_h
00024
00025 #include <y2pm/PMPackage.h>
00026 #include "YQPkgGenericDetailsView.h"
00027
00028 using std::string;
00029
00030
00036 class YQPkgDependenciesView : public YQPkgGenericDetailsView
00037 {
00038 Q_OBJECT
00039
00040 public:
00041
00045 YQPkgDependenciesView( QWidget * parent );
00046
00047
00051 virtual ~YQPkgDependenciesView();
00052
00053
00054 protected:
00055
00061 virtual void showDetails( PMObjectPtr pmObj );
00062
00067 QString simpleTable( PMPackagePtr pkg );
00068
00069
00075 QString complexTable( PMPackagePtr installedPkg,
00076 PMPackagePtr candidatePkg );
00077
00081 static QString cell( const PMSolvable::PkgRelList_type & list );
00082
00086 static QString cell( const string & contents )
00087 { return YQPkgGenericDetailsView::cell( contents ); }
00088 };
00089
00090
00091 #endif // ifndef YQPkgDependenciesView_h