Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

YQPkgDependenciesView.h

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------\
00002 |                                                                      |
00003 |                      __   __    ____ _____ ____                      |
00004 |                      \ \ / /_ _/ ___|_   _|___ \                     |
00005 |                       \ V / _` \___ \ | |   __) |                    |
00006 |                        | | (_| |___) || |  / __/                     |
00007 |                        |_|\__,_|____/ |_| |_____|                    |
00008 |                                                                      |
00009 |                               core system                            |
00010 |                                                        (C) SuSE GmbH |
00011 \----------------------------------------------------------------------/
00012 
00013   File:       YQPkgDependenciesView.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 // -*- c++ -*-
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

Generated on Fri Oct 14 19:03:46 2005 for yast2-qt by doxygen 1.3.6