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();
78 TQPoint mPosOfMainWin;
79 int mDesktopOfMainWin;
83 int mNewMessagePopupId;
85 KPopupMenu * mPopupMenu;
86 TQPixmap mDefaultIcon;
87 TQImage mLightIconImage;
89 TQValueVector<KMFolder*> mPopupFolders;
90 TQMap<TQGuardedPtr<KMFolder>, int> mFoldersWithUnread;
91 TQMap<TQGuardedPtr<KMFolder>, bool> mPendingUpdates;
92 TQTimer *mUpdateTimer;
|