lib Library API Documentation

EventHandler Class Reference

An abstract base class for event handlers. More...

#include <handler.h>

Inheritance diagram for EventHandler:

Inheritance graph
[legend]
Collaboration diagram for EventHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EventHandler (QObject *target)
QObjecttarget ()

Detailed Description

An abstract base class for event handlers.

The idea of an event handler is that it is created for a certain purpose, for example moving or resizing of a part. Once that action is finished, the handler will destroy itself.

This design pattern helps you to keep your event filters and your mousePressEvent, mouseMoveEvent etc. methods clean.

Definition at line 43 of file handler.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Mar 11 11:48:05 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003