00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef YQPkgDescriptionDialog_h
00023 #define YQPkgDescriptionDialog_h
00024
00025 #include <qdialog.h>
00026
00027
00028 class YQPkgList;
00029 class YQPkgDescriptionView;
00030
00031
00035 class YQPkgDescriptionDialog : public QDialog
00036 {
00037 Q_OBJECT
00038
00039 public:
00040
00044 static void showDescriptionDialog( const QString & pkgName );
00045
00051 virtual QSize sizeHint () const;
00052
00053
00054 protected:
00055
00059 YQPkgDescriptionDialog( QWidget * parent,
00060 const QString & pkgName );
00061
00066 void filter( const QString & pkgName );
00067
00072 bool isEmpty() const;
00073
00074
00075
00076
00077 YQPkgList * _pkgList;
00078 YQPkgDescriptionView * _pkgDescription;
00079 };
00080
00081
00082 #endif // ifndef YQPkgDescriptionDialog_h