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

SimpleApplet Class Reference

#include </home/clem/local/src/opie/examples/applet/simpleimpl.h>

List of all members.

Public Member Functions

 SimpleApplet (QWidget *parent)
 ~SimpleApplet ()

Static Public Member Functions

static int position ()

Private Member Functions

void mousePressEvent (QMouseEvent *)
void paintEvent (QPaintEvent *)

Private Attributes

QPixmap * m_pix


Detailed Description

Opie and Qtopia uses a component system called QCOM which was first part of the Qt 3.0 API but was made prviate during the betas. Opie and Qtopia still use it and we're happy with it. Every starts with the QUnknownInterface. It supports functions for reference counting and the most important one is for a query. Every QCOM interface got a global unique id ( GUID,UUID ) query is used to see if a interface is supported by a dynamic shared object ( dso / plugin ) For tasks like loading Applications, InputMethods, Today, MenuButton, Taskbar, Style, Email Client there are specefic Interfaces you need to implement. The interfaces inherits from QUnknownInterface and you'll need inherit from the interface. As example we will use the Taskbar interface the OTaskBarAppletWrapper implements the factory for us

Definition at line 44 of file simpleimpl.h.


Constructor & Destructor Documentation

SimpleApplet::SimpleApplet QWidget *  parent  ) 
 

Definition at line 16 of file simpleimpl.cpp.

References Opie::Core::OResource::loadPixmap(), m_pix, Opie::Core::OResource::SmallIcon, and AppLnk::smallIconSize().

SimpleApplet::~SimpleApplet  ) 
 

Definition at line 35 of file simpleimpl.cpp.

References m_pix.


Member Function Documentation

void SimpleApplet::mousePressEvent QMouseEvent *   )  [private]
 

Definition at line 47 of file simpleimpl.cpp.

References tr.

void SimpleApplet::paintEvent QPaintEvent *   )  [private]
 

Definition at line 54 of file simpleimpl.cpp.

References m_pix, and p.

int SimpleApplet::position  )  [static]
 

Definition at line 64 of file simpleimpl.cpp.


Member Data Documentation

QPixmap* SimpleApplet::m_pix [private]
 

Definition at line 53 of file simpleimpl.h.

Referenced by paintEvent(), SimpleApplet(), and ~SimpleApplet().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:51:55 2005 for OPIE by  doxygen 1.4.2