Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::Ui::OTaskbarApplet Class Reference

#include </home/clem/local/src/opie/libopie2/opieui/otaskbarapplet.h>

Inheritance diagram for Opie::Ui::OTaskbarApplet:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 OTaskbarApplet (QWidget *parent, const char *name=0)
virtual ~OTaskbarApplet ()

Protected Member Functions

virtual void popup (QWidget *widget)

Private Attributes

Private * d

Constructor & Destructor Documentation

OTaskbarApplet::OTaskbarApplet QWidget *  parent,
const char *  name = 0
 

Todo:
no example yet!!! If you want to implement an Applet for the Opie Taskbar use this interface. The only specail thing about applets is that you need to build it as plugin/library and do EXPORT_OPIE_APPLET_v1( YourApplet ) at the bottom of your application. This takes care of the activation and implementing the TaskbarAppletInterface. You also need to add a static int position() functions to your application.
    class MyApplet : public OTaskBarApplet {
     public:
      static int position() { return 3: }
      void doStuff() {
          popup( myWidget );
      }
    };
    EXPORT_OPIE_APPLET_v1( MyApplet )
Author:
Michael Lauer
Version:
0.5
See also:
TaskbarAppletInterface

Definition at line 64 of file otaskbarapplet.cpp.

OTaskbarApplet::~OTaskbarApplet  )  [virtual]
 

Definition at line 70 of file otaskbarapplet.cpp.


Member Function Documentation

void OTaskbarApplet::popup QWidget *  widget  )  [protected, virtual]
 

Definition at line 73 of file otaskbarapplet.cpp.

References width, and Opie::MM::x.

Referenced by NetworkApplet::mousePressEvent(), and BrightnessApplet::mousePressEvent().


Member Data Documentation

Private* Opie::Ui::OTaskbarApplet::d [private]
 

Definition at line 122 of file otaskbarapplet.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:02:08 2005 for OPIE by  doxygen 1.4.2