Helper class that restores window geometry after show/hide events. More...
#include <klfguiutil.h>
Public Member Functions | |
KLFWindowGeometryRestorer (QWidget *window) | |
virtual | ~KLFWindowGeometryRestorer () |
virtual bool | eventFilter (QObject *obj, QEvent *event) |
Helper class that restores window geometry after show/hide events.
Definition at line 580 of file klfguiutil.h.
KLFWindowGeometryRestorer::KLFWindowGeometryRestorer | ( | QWidget * | window | ) |
Definition at line 546 of file klfguiutil.cpp.
References QObject::installEventFilter().
KLFWindowGeometryRestorer::~KLFWindowGeometryRestorer | ( | ) | [virtual] |
Definition at line 552 of file klfguiutil.cpp.
bool KLFWindowGeometryRestorer::eventFilter | ( | QObject * | obj, |
QEvent * | event | ||
) | [virtual] |
Reimplemented from QObject.
Definition at line 556 of file klfguiutil.cpp.
References klf_get_window_geometry(), klf_set_window_geometry(), QEvent::type(), and QVariant::value().