| Home · All Namespaces · All Classes |


Public Member Functions | |
| SwitcherButtonViewXEventListener (SwitcherButtonView &parent) | |
| virtual | ~SwitcherButtonViewXEventListener () |
| virtual bool | handleXEvent (const XEvent &event) |
| REIMPLEMENTATION | |
An X event listener for the switcher button view. Reacts to visibility notify events.
Definition at line 39 of file switcherbuttonview.cpp.
| SwitcherButtonViewXEventListener::SwitcherButtonViewXEventListener | ( | SwitcherButtonView & | parent | ) | [inline] |
Constructs a new listener for switcher button view.
| parent | the owner of this object. |
Definition at line 49 of file switcherbuttonview.cpp.
:
parent(parent)
{
}
| virtual SwitcherButtonViewXEventListener::~SwitcherButtonViewXEventListener | ( | ) | [inline, virtual] |
| virtual bool SwitcherButtonViewXEventListener::handleXEvent | ( | const XEvent & | event | ) | [inline, virtual] |
REIMPLEMENTATION
Implements XEventListener.
Definition at line 62 of file switcherbuttonview.cpp.
{
bool handled = false;
if (event.type == VisibilityNotify && event.xvisibility.state == VisibilityFullyObscured && event.xvisibility.send_event == True) {
handled = parent.windowFullyObscured(event.xvisibility.window);
}
return handled;
}

| Copyright © 2010 Nokia Corporation | Generated on Thu Nov 4 2010 18:20:42 Doxygen 1.7.1 |
MeeGo Touch |