fix coding style

svn path=/trunk/KDE/kdelibs/; revision=1041163
This commit is contained in:
Igor Trindade Oliveira 2009-10-27 14:22:21 +00:00
parent 6c0f314c8b
commit 28bab1f99d
7 changed files with 59 additions and 58 deletions

View File

@ -42,21 +42,22 @@ QAbstractAnimation* SlideAnimation::render(QObject* parent)
qreal newX = x;
qreal newY = y;
kDebug()<<direction( );
switch (direction()) {
case MoveUp:
newY = y - distance();
newY -= distance();
break;
case MoveRight:
newX = x + distance();
newX += distance();
break;
case MoveDown:
newY = y + distance();
newY += distance();
break;
case MoveLeft:
newX = x - distance();
newX -= distance();
break;
case MoveUpRight: