[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/applets/rssnow
From: Laurent Montel <montel () kde ! org>
Date: 2008-04-25 7:26:32
Message-ID: 1209108392.547126.31026.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 800912 by mlaurent:
Compile
M +3 -3 scroller.cpp
M +2 -2 scroller.h
--- trunk/playground/base/plasma/applets/rssnow/scroller.cpp #800911:800912
@@ -80,8 +80,8 @@
connect(m_left, SIGNAL(clicked()), this, SLOT(leftClicked()));
connect(m_right, SIGNAL(clicked()), this, SLOT(rightClicked()));
- connect(Animator::self(), SIGNAL(customAnimationComplete(Plasma::Animator::AnimId)),
- this, SLOT(animationComplete(Plasma::Animator::AnimId)));
+ connect(Animator::self(), SIGNAL(customAnimationComplete(int)),
+ this, SLOT(animationComplete(int)));
}
Scroller::~Scroller() {
@@ -224,7 +224,7 @@
}
}
-void Scroller::animationComplete(Plasma::Animator::AnimId id)
+void Scroller::animationComplete(int id)
{
bool stillAnimating = false;
if (id == m_animid) {
--- trunk/playground/base/plasma/applets/rssnow/scroller.h #800911:800912
@@ -79,7 +79,7 @@
void rightClicked();
void moveNext();
void movePrev();
- void animationComplete(Plasma::Animator::AnimId);
+ void animationComplete(int);
void clearUnusedItems();
void animate(qreal anim);
@@ -88,7 +88,7 @@
void doAnimation();
QString fuzzyDate(const QDateTime& datetime);
- Plasma::Animator::AnimId m_animid;
+ int m_animid;
int m_current;
int m_animdirection;
int m_animations;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic