Kexi API Documentation (2.0 alpha)

KFormDesigner::EventEater Class Reference

#include <container.h>

List of all members.


Detailed Description

A class for redirecting events.

Definition at line 47 of file container.h.

Public Member Functions

 EventEater (QWidget *widget, QObject *container)
 ~EventEater ()
void setContainer (QObject *container)
 Sets the object which will receive the events.
bool eventFilter (QObject *o, QEvent *ev)


Constructor & Destructor Documentation

EventEater::EventEater QWidget widget,
QObject *  container
 

Constructs eater object. All events for widget and it's subwidgets will be redirected to container. container will be also parent of eater object, so you don't need to care about deleting it.

Definition at line 47 of file container.cpp.

References KFormDesigner::installRecursiveEventFilter().

EventEater::~EventEater  ) 
 

Definition at line 83 of file container.cpp.

References KFormDesigner::removeRecursiveEventFilter().


Member Function Documentation

bool EventEater::eventFilter QObject *  o,
QEvent *  ev
 

Definition at line 57 of file container.cpp.

void KFormDesigner::EventEater::setContainer QObject *  container  )  [inline]
 

Sets the object which will receive the events.

Definition at line 59 of file container.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:50:58 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003