kexi
KFormDesigner::EventEater Class Reference
#include <container.h>
Inherits QObject.
Detailed Description
This class is used to filter the events from any widget (and all its subwidgets) and direct it to the Container.A class for redirecting events
Definition at line 47 of file container.h.
Public Member Functions | |
EventEater (QWidget *widget, QObject *container) | |
void | setContainer (QObject *container) |
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.
Member Function Documentation
void KFormDesigner::EventEater::setContainer | ( | QObject * | container | ) | [inline] |
The documentation for this class was generated from the following files: