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

Plasma

Plasma::AnimationGroup

Plasma::AnimationGroup Class Reference

A group of Animations and / or AnimationGroups. More...

#include <animationgroup.h>

Inheritance diagram for Plasma::AnimationGroup:
Inheritance graph
[legend]

List of all members.

Public Slots

Q_INVOKABLE int add (Plasma::AbstractAnimation *elem)
Q_INVOKABLE AbstractAnimation * at (int id) const
Q_INVOKABLE void remove (int id)
Q_INVOKABLE void remove (Plasma::AbstractAnimation *elem)

Public Member Functions

 AnimationGroup (QObject *parent=0)
virtual ~AnimationGroup ()
bool isParallel () const
void setParallel (bool parallelness)
QAnimationGroup * toQAbstractAnimation (QObject *parent=0)

Properties

bool parallel

Detailed Description

A group of Animations and / or AnimationGroups.

Since:
4.4

Definition at line 45 of file animationgroup.h.


Constructor & Destructor Documentation

Plasma::AnimationGroup::AnimationGroup ( QObject *  parent = 0  )  [explicit]

Definition at line 43 of file animationgroup.cpp.

Plasma::AnimationGroup::~AnimationGroup (  )  [virtual]

Definition at line 50 of file animationgroup.cpp.


Member Function Documentation

int Plasma::AnimationGroup::add ( Plasma::AbstractAnimation *  elem  )  [slot]

Add an Animation or AnimationGroup to the group.

  • elem element to add
    Returns:
    id of element added

Definition at line 65 of file animationgroup.cpp.

AbstractAnimation * Plasma::AnimationGroup::at ( int  id  )  const [slot]

Return element with given id.

Returns:
id of element to get

Definition at line 76 of file animationgroup.cpp.

bool Plasma::AnimationGroup::isParallel (  )  const
Returns:
whether the current animation is parallel or not

Definition at line 60 of file animationgroup.cpp.

void Plasma::AnimationGroup::remove ( int  id  )  [slot]

Remove element with given id.

  • id id of element to remove

Definition at line 81 of file animationgroup.cpp.

void Plasma::AnimationGroup::remove ( Plasma::AbstractAnimation *  elem  )  [slot]

Remove an Animation or AnimationGroup from this group.

  • eleme element to remove

Definition at line 71 of file animationgroup.cpp.

void Plasma::AnimationGroup::setParallel ( bool  parallelness  ) 
  • parallelness whether the animation should be in parallel or not

Definition at line 55 of file animationgroup.cpp.

QAnimationGroup * Plasma::AnimationGroup::toQAbstractAnimation ( QObject *  parent = 0  )  [virtual]

Take the animation object and turn it into a QAnimationGroup.

More specifically, a QSerialAnimation or QParallelAnimation depending on the value of m_parallel at the time of invocation. Returns NULL on error.

Implements Plasma::AbstractAnimation.

Definition at line 90 of file animationgroup.cpp.


Property Documentation

bool Plasma::AnimationGroup::parallel [read, write]

Definition at line 48 of file animationgroup.h.


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

Plasma

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  •     Sodep
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.9-20090814
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