Diffstat (limited to 'core/applets/irdaapplet/irda.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/applets/irdaapplet/irda.cpp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/core/applets/irdaapplet/irda.cpp b/core/applets/irdaapplet/irda.cpp index a47f33d..afc0592 100644 --- a/core/applets/irdaapplet/irda.cpp +++ b/core/applets/irdaapplet/irda.cpp @@ -14,15 +14,20 @@ ** **********************************************************************/ +#include "irda.h" +/* OPIE */ +#include <opie2/otaskbarapplet.h> #include <qpe/resource.h> #include <qpe/qcopenvelope_qws.h> +/* QT */ #include <qpainter.h> #include <qfile.h> #include <qtimer.h> #include <qtextstream.h> +/* STD */ #include <unistd.h> #include <net/if.h> #include <netinet/in.h> @@ -30,8 +35,6 @@ #include <sys/socket.h> #include <sys/ioctl.h> -#include "irda.h" - //=========================================================================== IrdaApplet::IrdaApplet ( QWidget *parent, const char *name ) @@ -60,6 +63,11 @@ IrdaApplet::IrdaApplet ( QWidget *parent, const char *name ) this, SLOT(slotMessage(const QCString&, const QByteArray& ) ) ); } +int IrdaApplet::position() +{ + return 6; +} + void IrdaApplet::show() { QWidget::show ( ); @@ -350,3 +358,8 @@ void IrdaApplet::slotMessage( const QCString& str, const QByteArray& ar ) { e << list; } } + +Q_EXPORT_INTERFACE() +{ + Q_CREATE_INSTANCE( OTaskbarAppletWrapper<IrdaApplet> ); +} |