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

YQIconPool.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:       YQIconPool.h
00014 
00015   Author:     Stefan Hundhammer <sh@suse.de>
00016 
00017 /-*/
00018 
00019 // -*- c++ -*-
00020 
00021 
00022 #ifndef YQIconPool_h
00023 #define YQIconPool_h
00024 
00025 #include <qpixmap.h>
00026 #include <qptrdict.h>
00027 
00028 class YQIconPool
00029 {
00030 public:
00031 
00032     static QPixmap pkgAutoDel();
00033     static QPixmap pkgAutoInstall();
00034     static QPixmap pkgAutoUpdate();
00035     static QPixmap pkgDel();
00036     static QPixmap pkgInstall();
00037     static QPixmap pkgKeepInstalled();
00038     static QPixmap pkgNoInst();
00039     static QPixmap pkgProtected();
00040     static QPixmap pkgSelAutoDel();
00041     static QPixmap pkgSelAutoInstall();
00042     static QPixmap pkgSelAutoUpdate();
00043     static QPixmap pkgTaboo();
00044     static QPixmap pkgUpdate();
00045 
00046     static QPixmap disabledPkgAutoDel();
00047     static QPixmap disabledPkgAutoInstall();
00048     static QPixmap disabledPkgAutoUpdate();
00049     static QPixmap disabledPkgDel();
00050     static QPixmap disabledPkgInstall();
00051     static QPixmap disabledPkgKeepInstalled();
00052     static QPixmap disabledPkgNoInst();
00053     static QPixmap disabledPkgProtected();
00054     static QPixmap disabledPkgSelAutoDel();
00055     static QPixmap disabledPkgSelAutoInstall();
00056     static QPixmap disabledPkgSelAutoUpdate();
00057     static QPixmap disabledPkgTaboo();
00058     static QPixmap disabledPkgUpdate();
00059 
00060     static QPixmap checkMarkOn();
00061     static QPixmap checkMarkOff();
00062     
00063     static QPixmap normalPkgConflict();
00064     static QPixmap severePkgConflict();
00065     static QPixmap unresolvablePkgConflict();
00066     static QPixmap deletePkgConflict();
00067     static QPixmap tabooPkgConflict();
00068     static QPixmap selectPkgConflict();
00069 
00070 
00071 protected:
00072 
00076     static YQIconPool * iconPool();
00077 
00083     QPixmap cachedIcon( const char ** xpm_data );
00084 
00085 private:
00086 
00091     YQIconPool();
00092 
00096     virtual ~YQIconPool();
00097 
00098     // Data members
00099 
00100     static YQIconPool * _iconPool;
00101     QPtrDict<QPixmap>   _iconCache;
00102 };
00103 
00104 
00105 #endif // ifndef YQIconPool_h

Generated on Wed Sep 14 10:59:02 2005 for yast2-qt by  doxygen 1.4.4