#include <switcher.h>
List of all members.
Detailed Description
Switcher is a widget that shows the available windows.
Constructor & Destructor Documentation
Constructs a Switcher widget.
- Parameters:
-
Member Function Documentation
void Switcher::animationStateChanged |
( |
bool |
animating |
) |
[signal] |
Sent when something starts or stops animating in switcher
- Parameters:
-
| animating | if true, something is animating |
QSharedPointer< SwitcherButton > Switcher::createSwitcherButton |
( |
|
) |
[protected, virtual] |
void Switcher::handleWindowInfoList |
( |
QList< WindowInfo > |
newWindowList |
) |
[slot] |
Gets the current stacked client window list as parameter and checks whether new windows are added or removed. Adds and removes such windows from the switcher and emits the updated stacked window list.
- Parameters:
-
| newWindowList | QList<WindowInfo> that contains all windows in stacking order |
- See also:
- WindowMonitor::handleWindowInfoList()
bool Switcher::handleXEvent |
( |
const XEvent & |
event |
) |
[virtual] |
Handles an X event if it is related to the Switcher.
- Parameters:
-
| event | the XEvent to be handled |
- Returns:
true
if the event was handled, false
otherwise
Implements XEventListener.
bool Switcher::restoreButtonBeingRemoved |
( |
Window |
window, |
|
|
bool |
forceUpdateButtons = true | |
|
) |
| | [slot] |
Restore a button that were being removed.
- Parameters:
-
| window | |
| forceUpdateButtons | Whether buttons should be updated |
- Returns:
- Whether windon was removed from list
bool Switcher::sceneEvent |
( |
QEvent * |
event |
) |
[protected, virtual] |
REIMPLEMENTATION
When QEvent::TouchEnd event arrives, stops the Switcher from being an event filter for the SwitcherButtons
void Switcher::windowListUpdated |
( |
const QList< WindowInfo > & |
windowList |
) |
[signal] |
A signal for notifying that the window list has been updated.
The documentation for this class was generated from the following files:
- /home/bifh4/cs2009q3-i386/work/meegotouchhome-1.0.4/src/libmeegotouchhome/switcher.h
- /home/bifh4/cs2009q3-i386/work/meegotouchhome-1.0.4/src/libmeegotouchhome/switcher.cpp