#ifndef BTICONLOADER_H #define BTICONLOADER_H #include #include namespace OpieTooth { class BTIconLoader { public: BTIconLoader(); ~BTIconLoader(); /** * Returns an icon depending on device class * @param deviceClass the device class id * @return the pixmap */ QPixmap deviceIcon( int ); /** * Returns an icon depending on service id * @param serviceClass the service id * @return the pixmap */ QPixmap serviceIcon( int ); private: // first ist id, second is icon name QMap deviceIcons; QMap serviceIcons; }; } #endif