summaryrefslogtreecommitdiff
path: root/core/applets/irdaapplet/irda.cpp
authormickeyl <mickeyl>2004-03-01 19:19:37 (UTC)
committer mickeyl <mickeyl>2004-03-01 19:19:37 (UTC)
commitddc3d749af5f7afebf69488b79641771fe246b5b (patch) (unidiff)
tree8ea8614906c568e4677493ef09040724d60dd2d4 /core/applets/irdaapplet/irda.cpp
parentfb0981f47e529f9d1dd77fa005ffa3c3ecedff67 (diff)
downloadopie-ddc3d749af5f7afebf69488b79641771fe246b5b.zip
opie-ddc3d749af5f7afebf69488b79641771fe246b5b.tar.gz
opie-ddc3d749af5f7afebf69488b79641771fe246b5b.tar.bz2
remove duplicated boiler plate code in favour of the OTaskbarApplet template
Diffstat (limited to 'core/applets/irdaapplet/irda.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/irdaapplet/irda.cpp17
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
@@ -16,3 +16,6 @@
16 16
17#include "irda.h"
17 18
19/* OPIE */
20#include <opie2/otaskbarapplet.h>
18#include <qpe/resource.h> 21#include <qpe/resource.h>
@@ -20,2 +23,3 @@
20 23
24/* QT */
21#include <qpainter.h> 25#include <qpainter.h>
@@ -25,2 +29,3 @@
25 29
30/* STD */
26#include <unistd.h> 31#include <unistd.h>
@@ -32,4 +37,2 @@
32 37
33#include "irda.h"
34
35//=========================================================================== 38//===========================================================================
@@ -62,2 +65,7 @@ IrdaApplet::IrdaApplet ( QWidget *parent, const char *name )
62 65
66int IrdaApplet::position()
67{
68 return 6;
69}
70
63void IrdaApplet::show() 71void IrdaApplet::show()
@@ -352 +360,6 @@ void IrdaApplet::slotMessage( const QCString& str, const QByteArray& ar ) {
352} 360}
361
362Q_EXPORT_INTERFACE()
363{
364 Q_CREATE_INSTANCE( OTaskbarAppletWrapper<IrdaApplet> );
365}