00001
00002
00003
00004
00023 #ifndef SIMPLE_OPIE_EXAMPLE_APPLET_H
00024 #define SIMPLE_OPIE_EXAMPLE_APPLET_H
00025
00026
00027
00028
00029
00030
00031
00032 #include <qwidget.h>
00033 #include <qlist.h>
00034
00035 #include <qpe/taskbarappletinterface.h>
00036
00037
00038
00039
00040
00041
00042
00043
00044 class SimpleApplet : public QWidget {
00045 Q_OBJECT
00046 public:
00047 SimpleApplet(QWidget *parent);
00048 ~SimpleApplet();
00049 static int position();
00050 private:
00051 void mousePressEvent( QMouseEvent* );
00052 void paintEvent( QPaintEvent* );
00053 QPixmap *m_pix;
00054 };
00055
00056
00057
00058 #endif