• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KWinLibraries

KWin::WindowMotionManager

KWin::WindowMotionManager Class Reference
[KWin effects library]

Helper class for motion dynamics in KWin effects. More...

#include <kwineffects.h>

List of all members.


Public Member Functions

void apply (EffectWindow *w, WindowPaintData &data)
bool areWindowsMoving ()
void calculate (int time)
bool isManaging (EffectWindow *w)
void manage (EffectWindowList list)
void manage (EffectWindow *w)
EffectWindowList managedWindows () const
bool managingWindows ()
void moveWindow (EffectWindow *w, QRect target)
void moveWindow (EffectWindow *w, QPoint target, double scale=1.0, double yScale=0.0)
void reset (EffectWindow *w)
void reset ()
QRectF transformedGeometry (EffectWindow *w) const
void unmanage (EffectWindow *w)
void unmanageAll ()
EffectWindow * windowAtPoint (QPoint point, bool useStackingOrder=true) const
 WindowMotionManager (bool useGlobalAnimationModifier=true)
 ~WindowMotionManager ()

Detailed Description

Helper class for motion dynamics in KWin effects.

This motion manager class is intended to help KWin effect authors move windows across the screen smoothly and naturally. Once windows are registered by the manager the effect can issue move commands with the moveWindow() methods. The position of any managed window can be determined in realtime by the transformedGeometry() method. As the manager knows if any windows are moving at any given time it can also be used as a notifier as to see whether the effect is active or not.

Definition at line 1339 of file kwineffects.h.


Constructor & Destructor Documentation

KWin::WindowMotionManager::WindowMotionManager ( bool  useGlobalAnimationModifier = true  )  [explicit]

Creates a new window manager object.

Definition at line 1076 of file kwineffects.cpp.


The documentation for this class was generated from the following files:
  • kwineffects.h
  • kwineffects.cpp

KWinLibraries

Skip menu "KWinLibraries"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal