Plasma
animationgroup.cpp
Go to the documentation of this file.
00001 /* 00002 * Copyright 2009 Aaron J. Seigo <aseigo@kde.org> 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU Library General Public License version 2 as 00006 * published by the Free Software Foundation 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 * GNU General Public License for more details 00012 * 00013 * You should have received a copy of the GNU Library General Public 00014 * License along with this program; if not, write to the 00015 * Free Software Foundation, Inc., 00016 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00017 */ 00018 00019 #include "animationgroup_p.h" 00020 00021 namespace Plasma 00022 { 00023 00024 ParallelAnimationGroup::ParallelAnimationGroup(QObject *parent) 00025 : QParallelAnimationGroup(parent) 00026 { 00027 } 00028 00029 void ParallelAnimationGroup::addAnimation(QAbstractAnimation *animation) 00030 { 00031 QParallelAnimationGroup::addAnimation(animation); 00032 } 00033 00034 QAbstractAnimation *ParallelAnimationGroup::animationAt(int index) const 00035 { 00036 return QParallelAnimationGroup::animationAt(index); 00037 } 00038 00039 int ParallelAnimationGroup::animationCount() const 00040 { 00041 return QParallelAnimationGroup::animationCount(); 00042 } 00043 00044 void ParallelAnimationGroup::clear() 00045 { 00046 QParallelAnimationGroup::clear(); 00047 } 00048 00049 int ParallelAnimationGroup::indexOfAnimation(QAbstractAnimation *animation) const 00050 { 00051 return QParallelAnimationGroup::indexOfAnimation(animation); 00052 } 00053 00054 void ParallelAnimationGroup::insertAnimation(int index, QAbstractAnimation *animation) 00055 { 00056 QParallelAnimationGroup::insertAnimation(index, animation); 00057 } 00058 00059 void ParallelAnimationGroup::removeAnimation(QAbstractAnimation *animation) 00060 { 00061 QParallelAnimationGroup::removeAnimation(animation); 00062 } 00063 00064 00065 SequentialAnimationGroup::SequentialAnimationGroup(QObject *parent) 00066 : QSequentialAnimationGroup(parent) 00067 { 00068 } 00069 00070 void SequentialAnimationGroup::addAnimation(QAbstractAnimation *animation) 00071 { 00072 QSequentialAnimationGroup::addAnimation(animation); 00073 } 00074 00075 QAbstractAnimation *SequentialAnimationGroup::animationAt(int index) const 00076 { 00077 return QSequentialAnimationGroup::animationAt(index); 00078 } 00079 00080 int SequentialAnimationGroup::animationCount() const 00081 { 00082 return QSequentialAnimationGroup::animationCount(); 00083 } 00084 00085 void SequentialAnimationGroup::clear() 00086 { 00087 QSequentialAnimationGroup::clear(); 00088 } 00089 00090 int SequentialAnimationGroup::indexOfAnimation(QAbstractAnimation *animation) const 00091 { 00092 return QSequentialAnimationGroup::indexOfAnimation(animation); 00093 } 00094 00095 void SequentialAnimationGroup::insertAnimation(int index, QAbstractAnimation *animation) 00096 { 00097 QSequentialAnimationGroup::insertAnimation(index, animation); 00098 } 00099 00100 void SequentialAnimationGroup::removeAnimation(QAbstractAnimation *animation) 00101 { 00102 QSequentialAnimationGroup::removeAnimation(animation); 00103 } 00104 00105 } // namespace Plasma 00106 00107 #include "animationgroup_p.moc"
KDE 4.6 API Reference