Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

OpieTooth::BTIconLoader Class Reference

#include </home/clem/local/src/opie/noncore/net/opietooth/manager/bticonloader.h>

Collaboration diagram for OpieTooth::BTIconLoader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BTIconLoader ()
 ~BTIconLoader ()
QPixmap deviceIcon (int)
QPixmap serviceIcon (int)

Private Attributes

QMap< int, QStringdeviceIcons
QMap< int, QStringserviceIcons

Constructor & Destructor Documentation

OpieTooth::BTIconLoader::BTIconLoader  ) 
 

Definition at line 9 of file bticonloader.cpp.

References deviceIcons, QMap< Key, T >::insert(), and serviceIcons.

OpieTooth::BTIconLoader::~BTIconLoader  ) 
 

Definition at line 45 of file bticonloader.cpp.


Member Function Documentation

QPixmap OpieTooth::BTIconLoader::deviceIcon int   ) 
 

Returns an icon depending on device class

Parameters:
deviceClass the device class id
Returns:
the pixmap

Definition at line 48 of file bticonloader.cpp.

References deviceIcons, QMap< Key, T >::find(), QString::isEmpty(), and Resource::loadPixmap().

QPixmap OpieTooth::BTIconLoader::serviceIcon int   ) 
 

Returns an icon depending on service id

Parameters:
serviceClass the service id
Returns:
the pixmap

Definition at line 63 of file bticonloader.cpp.

References QMap< Key, T >::find(), QString::isEmpty(), Resource::loadPixmap(), and serviceIcons.

Referenced by OpieTooth::BlueBase::addServicesToDevice().


Member Data Documentation

QMap<int,QString> OpieTooth::BTIconLoader::deviceIcons [private]
 

Definition at line 32 of file bticonloader.h.

Referenced by BTIconLoader(), and deviceIcon().

QMap<int,QString> OpieTooth::BTIconLoader::serviceIcons [private]
 

Definition at line 33 of file bticonloader.h.

Referenced by BTIconLoader(), and serviceIcon().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:02:43 2005 for OPIE by  doxygen 1.4.2