author | zecke <zecke> | 2002-06-12 15:59:45 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-12 15:59:45 (UTC) |
commit | 9b87f7a2f2de6b5c1bad4f35f76fc7a0fd1ad021 (patch) (side-by-side diff) | |
tree | 3e1ccaae54d96ae3cbb25fba48814fb31c15105d /core/applets/irdaapplet/irda.h | |
parent | 8a53908265672bd3feee0ace40f9e5e38de2f30e (diff) | |
download | opie-9b87f7a2f2de6b5c1bad4f35f76fc7a0fd1ad021.zip opie-9b87f7a2f2de6b5c1bad4f35f76fc7a0fd1ad021.tar.gz opie-9b87f7a2f2de6b5c1bad4f35f76fc7a0fd1ad021.tar.bz2 |
Fix memleak and add OBEX receive support
Diffstat (limited to 'core/applets/irdaapplet/irda.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/irdaapplet/irda.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/applets/irdaapplet/irda.h b/core/applets/irdaapplet/irda.h index 2f84909..bb174e8 100644 --- a/core/applets/irdaapplet/irda.h +++ b/core/applets/irdaapplet/irda.h @@ -9,14 +9,14 @@ ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** **********************************************************************/ -#ifndef __SCREENSHOT_APPLET_H__ -#define __SCREENSHOT_APPLET_H__ +#ifndef SCREENSHOT_APPLET_H__ +#define SCREENSHOT_APPLET_H__ #include <qwidget.h> #include <qframe.h> #include <qpixmap.h> @@ -32,13 +32,12 @@ public: IrdaApplet( QWidget *parent = 0, const char *name=0 ); ~IrdaApplet(); protected: void timerEvent(QTimerEvent *te ); -public slots: private: void mousePressEvent( QMouseEvent * ); void paintEvent( QPaintEvent* ); int checkIrdaStatus(); int setIrdaStatus(int); int checkIrdaDiscoveryStatus(); @@ -46,13 +45,13 @@ private: int sockfd; private: QPixmap irdaOnPixmap; QPixmap irdaOffPixmap; QPixmap irdaDiscoveryOnPixmap; - int irdaactive; + int irdaactive; // bool and bitfields later bool irdaactive :1 ; int irdaDiscoveryActive; private slots: }; |