SystemTrayIcon Class Reference

This shows the small icon in the system tray. More...

#include <systemtrayicon.h>

List of all members.

Public Member Functions

 SystemTrayIcon (QWidget *parent, QIcon trayIcon, KAction *actionRefresh)
void drawNumber (int n, const QColor &color)
void clear ()
void showLooking ()

Protected Slots

void slotFlash ()

Protected Member Functions

void drawLooking ()


Detailed Description

This shows the small icon in the system tray.

Definition at line 38 of file systemtrayicon.h.


Constructor & Destructor Documentation

SystemTrayIcon::SystemTrayIcon ( QWidget *  parent,
QIcon  trayIcon,
KAction *  actionRefresh 
)

Constructor

Parameters:
parent parent widget
trayIcon icon
actionRefresh refresh action

Definition at line 21 of file systemtrayicon.cpp.


Member Function Documentation

void SystemTrayIcon::drawNumber ( int  n,
const QColor &  color 
)

Draws the given number on the icon.

Parameters:
n number to draw
color color

Definition at line 39 of file systemtrayicon.cpp.

void SystemTrayIcon::clear (  ) 

Clears the number from the icon

Definition at line 70 of file systemtrayicon.cpp.

void SystemTrayIcon::showLooking (  ) 

Shows a flashing question mark

Definition at line 77 of file systemtrayicon.cpp.

void SystemTrayIcon::drawLooking (  )  [protected]

Draws a question mark

Definition at line 93 of file systemtrayicon.cpp.

void SystemTrayIcon::slotFlash (  )  [protected, slot]

Receives the timer event and depending on flasherFlag it calls drawLooking() or clears the icon.

See also:
flasherFlag

drawLooking

Definition at line 118 of file systemtrayicon.cpp.


The documentation for this class was generated from the following files:

Generated on Tue May 18 19:43:53 2010 for KShowmail by  doxygen 1.5.6