KDE PIM / Developers / API Docs / kmail

KMSystemTray Class Reference

KMSystemTray extends KSystemTray and handles system tray notification for KMail. More...

#include <kmsystemtray.h>

Inherits KSystemTray.

List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

KMSystemTray extends KSystemTray and handles system tray notification for KMail.


Constructor & Destructor Documentation

KMSystemTray::KMSystemTray QWidget *  parent = 0,
const char *  name = 0
 

construtor

The KMSystemTray listens for updateNewMessageNotification events from each non-system KMFolder and maintains a store of all folders with unread messages.

The KMSystemTray also provides a popup menu listing each folder with its count of unread messages, allowing the user to jump to the first unread message in each folder.

Initiate connections between folders and this object

KMSystemTray::~KMSystemTray  ) 
 

destructor


Member Function Documentation

void KMSystemTray::mousePressEvent QMouseEvent *  e  )  [protected]
 

On left mouse click, switch focus to the first KMMainWidget.

On right click, bring up a list of all folders with a count of unread messages.

void KMSystemTray::showKMail  )  [protected]
 

Shows and raises the first KMMainWidget and switches to the appropriate virtual desktop.

void KMSystemTray::updateCount  )  [protected]
 

Update the count of unread messages.

If there are unread messages, overlay the count on top of a transparent version of the KMail icon. If there is no unread mail, restore the normal KMail icon.

QString KMSystemTray::prettyName KMFolder fldr  )  [protected]
 

Return the name of the folder in which the mail is deposited, prepended with the account name if the folder is IMAP.


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