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 newX = x;
qreal newY = y; qreal newY = y;
kDebug()<<direction( );
switch (direction()) { switch (direction()) {
case MoveUp: case MoveUp:
newY = y - distance(); newY -= distance();
break; break;
case MoveRight: case MoveRight:
newX = x + distance(); newX += distance();
break; break;
case MoveDown: case MoveDown:
newY = y + distance(); newY += distance();
break; break;
case MoveLeft: case MoveLeft:
newX = x - distance(); newX -= distance();
break; break;
case MoveUpRight: case MoveUpRight: