LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CardWindowManagerState Class Reference

#include <CardWindowManagerStates.h>

Inheritance diagram for CardWindowManagerState:
[legend]
Collaboration diagram for CardWindowManagerState:
[legend]

Public Member Functions

 CardWindowManagerState (CardWindowManager *wm)
 
virtual void flickGestureEvent (QGestureEvent *event)
 
virtual void tapGestureEvent (QTapGesture *event)
 
virtual void tapAndHoldGestureEvent (QTapAndHoldGesture *event)
 
virtual void windowAdded (CardWindow *win)
 
virtual void windowRemoved (CardWindow *win)
 
virtual void windowTimedOut (CardWindow *win)
 
virtual void positiveSpaceAboutToChange (const QRect &r, bool fullScreen)
 
virtual void positiveSpaceChangeFinished (const QRect &r)
 
virtual void positiveSpaceChanged (const QRect &r)
 
virtual void animationsFinished ()
 
virtual void changeCardWindow (bool)
 
virtual void focusMaximizedCardWindow (bool focus)
 
virtual bool supportLauncherOverlay () const
 
virtual void relayout (const QRectF &r, bool animate=true)
 
virtual void processTouchToShareTransfer (const std::string &appId)
 
virtual bool handleKeyNavigation (QKeyEvent *keyEvent)
 
virtual void handleTouchBegin (QTouchEvent *e)
 
virtual void handleTouchEnd (QTouchEvent *e)
 
virtual void handleTouchUpdate (QTouchEvent *e)
 

Protected Member Functions

virtual void onEntry (QEvent *event)
 
bool lastWindowAddedType () const
 
void resizeWindow (CardWindow *w, int width, int height)
 

Protected Attributes

CardWindowManagerm_wm
 

Constructor & Destructor Documentation

CardWindowManagerState::CardWindowManagerState ( CardWindowManager wm)

Member Function Documentation

virtual void CardWindowManagerState::animationsFinished ( )
inlinevirtual
virtual void CardWindowManagerState::changeCardWindow ( bool  )
inlinevirtual

Reimplemented in MaximizeState, and MinimizeState.

virtual void CardWindowManagerState::flickGestureEvent ( QGestureEvent *  event)
inlinevirtual

Reimplemented in MinimizeState.

void CardWindowManagerState::focusMaximizedCardWindow ( bool  focus)
virtual

Reimplemented in MaximizeState.

virtual bool CardWindowManagerState::handleKeyNavigation ( QKeyEvent *  keyEvent)
inlinevirtual

Reimplemented in MaximizeState, and MinimizeState.

void CardWindowManagerState::handleTouchBegin ( QTouchEvent *  e)
virtual

Reimplemented in LoadingState, PreparingState, and MinimizeState.

void CardWindowManagerState::handleTouchEnd ( QTouchEvent *  e)
virtual

Reimplemented in ReorderState, and MinimizeState.

void CardWindowManagerState::handleTouchUpdate ( QTouchEvent *  e)
virtual

Reimplemented in ReorderState, and MinimizeState.

bool CardWindowManagerState::lastWindowAddedType ( ) const
protected
void CardWindowManagerState::onEntry ( QEvent event)
protectedvirtual
virtual void CardWindowManagerState::positiveSpaceAboutToChange ( const QRect &  r,
bool  fullScreen 
)
inlinevirtual

Reimplemented in MaximizeState.

virtual void CardWindowManagerState::positiveSpaceChanged ( const QRect &  r)
inlinevirtual

Reimplemented in MaximizeState.

virtual void CardWindowManagerState::positiveSpaceChangeFinished ( const QRect &  r)
inlinevirtual

Reimplemented in MaximizeState.

virtual void CardWindowManagerState::processTouchToShareTransfer ( const std::string &  appId)
inlinevirtual

Reimplemented in MaximizeState.

virtual void CardWindowManagerState::relayout ( const QRectF &  r,
bool  animate = true 
)
inlinevirtual

Reimplemented in MaximizeState, and MinimizeState.

void CardWindowManagerState::resizeWindow ( CardWindow w,
int  width,
int  height 
)
protected
bool CardWindowManagerState::supportLauncherOverlay ( ) const
virtual

Reimplemented in LoadingState, and PreparingState.

virtual void CardWindowManagerState::tapAndHoldGestureEvent ( QTapAndHoldGesture *  event)
inlinevirtual

Reimplemented in MinimizeState.

virtual void CardWindowManagerState::tapGestureEvent ( QTapGesture *  event)
inlinevirtual

Reimplemented in MinimizeState.

void CardWindowManagerState::windowAdded ( CardWindow win)
virtual

Reimplemented in LoadingState, PreparingState, and MaximizeState.

void CardWindowManagerState::windowRemoved ( CardWindow win)
virtual

Reimplemented in MaximizeState.

virtual void CardWindowManagerState::windowTimedOut ( CardWindow win)
inlinevirtual

Reimplemented in PreparingState.

Member Data Documentation

CardWindowManager* CardWindowManagerState::m_wm
protected

The documentation for this class was generated from the following files: