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;
|