18 #ifndef KMSYSTEMTRAY_H
19 #define KMSYSTEMTRAY_H
21 #include <ksystemtray.h>
24 #include <tqguardedptr.h>
25 #include <tqvaluevector.h>
51 void setMode( int mode);
55 bool hasUnreadMail() const;
61 void updateNewMessageNotification( KMFolder * folder);
62 void selectedAccount( int);
63 void updateNewMessages();
68 bool mainWindowIsOnCurrentDesktop();
70 void buildPopupMenu();
72 void resizeEvent(TQResizeEvent *);
79 TQPoint mPosOfMainWin;
80 int mDesktopOfMainWin;
84 int mNewMessagePopupId;
86 TDEPopupMenu * mPopupMenu;
87 TQPixmap mDefaultIcon;
88 TQImage mLightIconImage;
90 TQValueVector<KMFolder*> mPopupFolders;
91 TQMap<TQGuardedPtr<KMFolder>, int> mFoldersWithUnread;
92 TQMap<TQGuardedPtr<KMFolder>, bool> mPendingUpdates;
93 TQTimer *mUpdateTimer;
KMSystemTray extends KSystemTray and handles system tray notification for KMail.
TQString prettyName(KMFolder *) Return the name of the folder in which the mail is deposited, prepended with the account name if the ...
void updateCount() Update the count of unread messages.
void foldersChanged() Refreshes the list of folders we are monitoring.
~KMSystemTray() destructor
KMSystemTray(TQWidget *parent=0, const char *name=0) construtor
void mousePressEvent(TQMouseEvent *) On left mouse click, switch focus to the first KMMainWidget.
void showKMail() Shows and raises the first KMMainWidget and switches to the appropriate virtual desktop.
|