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

AppIcons Class Reference

#include </home/clem/local/src/opie/core/launcher/appicons.h>

Collaboration diagram for AppIcons:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AppIcons (QWidget *parent)
void setIcon (int id, const QPixmap &)
void setToolTip (int id, const QString &)
void remove (int id)

Private Slots

void receive (const QCString &msg, const QByteArray &data)
void clicked (const QPoint &relpos, int button, bool dbl)

Private Member Functions

QLabel * button (int id)
int findId (QLabel *)

Private Attributes

QIntDict< QLabel > buttons

Constructor & Destructor Documentation

AppIcons::AppIcons QWidget *  parent  ) 
 

Definition at line 32 of file appicons.cpp.

References buttons, channel, receive(), QPtrCollection::setAutoDelete(), and TRUE.


Member Function Documentation

QLabel * AppIcons::button int  id  )  [private]
 

Definition at line 68 of file appicons.cpp.

References buttons, clicked(), f, QIntDict< type >::find(), and QIntDict< type >::insert().

Referenced by setIcon(), and setToolTip().

void AppIcons::clicked const QPoint &  relpos,
int  button,
bool  dbl
[private, slot]
 

Definition at line 86 of file appicons.cpp.

References findId(), and s.

Referenced by button().

int AppIcons::findId QLabel *   )  [private]
 

Definition at line 79 of file appicons.cpp.

References buttons, QIntDictIterator< type >::current(), and QIntDictIterator< type >::currentKey().

Referenced by clicked().

void AppIcons::receive const QCString msg,
const QByteArray data
[private, slot]
 

Definition at line 111 of file appicons.cpp.

References id, IO_ReadOnly, remove(), s, setIcon(), setToolTip(), and stream.

Referenced by AppIcons().

void AppIcons::remove int  id  ) 
 

Definition at line 106 of file appicons.cpp.

References buttons, and QIntDict< type >::remove().

Referenced by receive().

void AppIcons::setIcon int  id,
const QPixmap & 
 

Definition at line 44 of file appicons.cpp.

References button().

Referenced by receive().

void AppIcons::setToolTip int  id,
const QString
 

Definition at line 101 of file appicons.cpp.

References add, and button().

Referenced by receive().


Member Data Documentation

QIntDict<QLabel> AppIcons::buttons [private]
 

Definition at line 45 of file appicons.h.

Referenced by AppIcons(), button(), findId(), and remove().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:26:29 2005 for OPIE by  doxygen 1.4.2