Diffstat (limited to 'core/applets/irdaapplet/irda.cpp') (more/less context) (show 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 @@ -15,8 +15,12 @@ **********************************************************************/ +#include "irda.h" +/* OPIE */ +#include <opie2/otaskbarapplet.h> #include <qpe/resource.h> #include <qpe/qcopenvelope_qws.h> +/* QT */ #include <qpainter.h> #include <qfile.h> @@ -24,4 +28,5 @@ #include <qtextstream.h> +/* STD */ #include <unistd.h> #include <net/if.h> @@ -31,6 +36,4 @@ #include <sys/ioctl.h> -#include "irda.h" - //=========================================================================== @@ -61,4 +64,9 @@ IrdaApplet::IrdaApplet ( QWidget *parent, const char *name ) } +int IrdaApplet::position() +{ + return 6; +} + void IrdaApplet::show() { @@ -351,2 +359,7 @@ void IrdaApplet::slotMessage( const QCString& str, const QByteArray& ar ) { } } + +Q_EXPORT_INTERFACE() +{ + Q_CREATE_INSTANCE( OTaskbarAppletWrapper<IrdaApplet> ); +} |