00001 #ifndef BTICONLOADER_H 00002 #define BTICONLOADER_H 00003 00004 #include <qpixmap.h> 00005 #include <qmap.h> 00006 00007 namespace OpieTooth { 00008 00009 class BTIconLoader { 00010 00011 public: 00012 00013 BTIconLoader(); 00014 ~BTIconLoader(); 00015 00021 QPixmap deviceIcon( int ); 00022 00028 QPixmap serviceIcon( int ); 00029 00030 private: 00031 // first ist id, second is icon name 00032 QMap<int,QString> deviceIcons; 00033 QMap<int,QString> serviceIcons; 00034 }; 00035 } 00036 00037 #endif
1.4.2