Home · All Namespaces · All Classes |
#include <switcherbutton.h>
Public Slots | |
void | switchToWindow () |
Slot for notifying that the window represented by this button should be brought to front. | |
void | close () |
Slot for notifying that the window represented by this button should be closed. | |
virtual void | resetState () |
void | setVisibilityPropertyEnabled (bool enable) |
Enables or disables the setting of the visibility property of the button. | |
Signals | |
void | windowToFront (Window window) |
A signal for notifying that a window should be brought to front. | |
void | closeWindow (Window window) |
A signal for notifying that the window should be closed. | |
void | closeAllWindows () |
A signal for notifying that all windows should be closed. | |
void | closeTimedOutForWindow (Window window) |
A signal for notifying that window close timer timed out. | |
Public Member Functions | |
SwitcherButton (QGraphicsItem *parent=NULL, SwitcherButtonModel *model=new SwitcherButtonModel) | |
virtual | ~SwitcherButton () |
Window | xWindow () |
void | setXWindow (Window window) |
virtual void | prepareGeometryChange () |
void | setVisibleInSwitcherProperty (bool set) |
| |
Protected Member Functions | |
virtual void | enterDisplayEvent () |
virtual void | exitDisplayEvent () |
Properties | |
ulong | xWindow |
The X Window represented by this button. |
SwitcherButton widget represents an open window in the Switcher.
SwitcherButton::SwitcherButton | ( | QGraphicsItem * | parent = NULL , |
|
SwitcherButtonModel * | model = new SwitcherButtonModel | |||
) |
Constructs an SwitcherButton.
parent | Parent object | |
model | Model for controller |
SwitcherButton::~SwitcherButton | ( | ) | [virtual] |
Destroys the SwitcherButton.
void SwitcherButton::close | ( | ) | [slot] |
Slot for notifying that the window represented by this button should be closed.
void SwitcherButton::closeAllWindows | ( | ) | [signal] |
A signal for notifying that all windows should be closed.
void SwitcherButton::closeTimedOutForWindow | ( | Window | window | ) | [signal] |
A signal for notifying that window close timer timed out.
void SwitcherButton::closeWindow | ( | Window | window | ) | [signal] |
A signal for notifying that the window should be closed.
void SwitcherButton::enterDisplayEvent | ( | ) | [protected, virtual] |
REIMPLEMENTATION
Reimplemented to update _MEEGO_VISIBLE_IN_SWITCHER property
void SwitcherButton::exitDisplayEvent | ( | ) | [protected, virtual] |
REIMPLEMENTATION
Reimplemented to update _MEEGO_VISIBLE_IN_SWITCHER property
void SwitcherButton::prepareGeometryChange | ( | ) | [virtual] |
REIMPLEMENTATION
Reimplemented here as public because it's protected in the base class so the view cannot access it.
void SwitcherButton::resetState | ( | ) | [virtual, slot] |
A slot that should be called when window closing has been requested but the window has not closed during a certain time.
void SwitcherButton::setVisibilityPropertyEnabled | ( | bool | enable | ) | [slot] |
Enables or disables the setting of the visibility property of the button.
void SwitcherButton::setVisibleInSwitcherProperty | ( | bool | set | ) |
Sets/unsets _MEEGO_VISIBLE_IN_SWITCHER property to the window.
void SwitcherButton::setXWindow | ( | Window | window | ) |
Sets the X Window represented by this button
window | the X Window represented by this button |
void SwitcherButton::switchToWindow | ( | ) | [slot] |
Slot for notifying that the window represented by this button should be brought to front.
void SwitcherButton::windowToFront | ( | Window | window | ) | [signal] |
A signal for notifying that a window should be brought to front.
Window SwitcherButton::xWindow | ( | ) |
Gets the X Window represented by this button
Window SwitcherButton::xWindow [read] |
The X Window represented by this button.
Copyright © 2011 Nokia Corporation | Generated on Thu Jul 7 2011 22:14:50 Doxygen 1.7.1 |
MeeGo Touch |