systemtray.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef KSYNC_SYSTEMTRAY_H
00029 #define KSYNC_SYSTEMTRAY_H
00030
00031
00032 #include <ksystemtray.h>
00033 #include <kpixmap.h>
00034
00035 class QTimer;
00036 class QPoint;
00037
00038 class KPopupMenu;
00039
00040 namespace KSync {
00041
00045 class KSyncSystemTray : public KSystemTray
00046 {
00047 Q_OBJECT
00048
00049 public:
00050 KSyncSystemTray( QWidget* parent = 0 );
00051 ~KSyncSystemTray();
00052
00053 KPopupMenu *getContextMenu() const { return contextMenu(); };
00054
00055 void gotConnection( QPixmap );
00056 void setName( QString& );
00057 void setState( bool );
00058 void noConnection();
00059
00060 private:
00061 QPixmap mIconConnected;
00062 QPixmap mIconDisconnected;
00063 };
00064
00065 }
00066
00067 #endif
00068
This file is part of the documentation for kitchensync Library Version 3.3.2.