move animator.[c|cpp] -> animationdriver.[h|cpp]

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800872
This commit is contained in:
Aaron J. Seigo 2008-04-25 03:17:00 +00:00
parent 6e80fe4354
commit 202e01e44d
6 changed files with 9 additions and 7 deletions

View File

@ -18,7 +18,7 @@ set(plasmagik_SRCS
set(plasma_LIB_SRCS
${plasmagik_SRCS}
abstractrunner.cpp
animator.cpp
animationdriver.cpp
applet.cpp
appletbrowser.cpp
appletbrowser/customdragtreeview.cpp
@ -99,7 +99,7 @@ install(FILES ${plasmagik_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/plasma/)
set(plasma_LIB_INCLUDES
abstractrunner.h
animator.h
animationdriver.h
applet.h
appletbrowser.h
configxml.h
@ -154,7 +154,7 @@ install(FILES
install(FILES
includes/AbstractRunner
includes/Animator
includes/AnimationDriver
includes/Applet
includes/AppletBrowser
includes/ConfigXml

View File

@ -18,7 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "animator.h"
#include "animationdriver.h"
#include <QPainter>
#include <QGraphicsItem>
@ -143,4 +143,4 @@ void AnimationDriver::itemSlideOut(qreal progress, QGraphicsItem *item, const QP
} // Plasma namespace
#include "animator.moc"
#include "animationdriver.moc"

1
includes/AnimationDriver Normal file
View File

@ -0,0 +1 @@
#include "../../plasma/animationdriver.h"

View File

@ -1 +0,0 @@
#include "../../plasma/animator.h"

View File

@ -28,7 +28,7 @@
#include <KServiceTypeTrader>
#include <KGlobalSettings>
#include "animator.h"
#include "animationdriver.h"
namespace Plasma
{
@ -475,6 +475,8 @@ QPixmap Animator::currentPixmap(int id)
case DisappearAnimation:
return d->driver->elementDisappear(progress, state->pixmap);
break;
case ActivateAnimation:
break;
}
return state->pixmap;