Diffstat (limited to 'core/applets/irdaapplet/irda.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/irdaapplet/irda.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/core/applets/irdaapplet/irda.h b/core/applets/irdaapplet/irda.h index 5822afe..7b37847 100644 --- a/core/applets/irdaapplet/irda.h +++ b/core/applets/irdaapplet/irda.h @@ -22,9 +22,10 @@ #include <qpixmap.h> #include <qguardedptr.h> #include <qtimer.h> #include <qfile.h> - +#include <qpopupmenu.h> +#include <qdict.h> class IrdaApplet : public QWidget { Q_OBJECT @@ -41,25 +42,27 @@ private: int checkIrdaStatus(); int setIrdaStatus(int); int checkIrdaDiscoveryStatus(); int setIrdaDiscoveryStatus(int); + int setIrdaReceiveStatus(int); void showDiscovered(); int sockfd; +private slots: + void popupTimeout(); + private: QPixmap irdaOnPixmap; QPixmap irdaOffPixmap; QPixmap irdaDiscoveryOnPixmap; QPixmap receiveActivePixmap; - QString discoveredDevice; int irdaactive; // bool and bitfields later bool irdaactive :1 ; int irdaDiscoveryActive; bool receiveActive : 1; bool receiveStateChanged; -private slots: - - + QPopupMenu *popupMenu; + void popup(QString message, QString icon=""); + QDict<QString> devicesAvailable; }; #endif // __SCREENSHOT_APPLET_H__ - |