--- a/src/hbcore/image/hbiconanimation_p.h Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbcore/image/hbiconanimation_p.h Wed Aug 18 10:05:37 2010 +0300
@@ -84,6 +84,9 @@
virtual QSizeF renderSize() const;
virtual void setRenderSize(const QSizeF &size);
+ virtual void setLoopCount(int loopCount);
+ virtual bool loopCountSet(int *loopCount = 0);
+
bool mirrored() const;
void setMirrored(bool mirrored);
@@ -206,6 +209,9 @@
QPixmap currentFrame() const;
+ void setLoopCount(int loopCount);
+ bool loopCountSet(int *loopCount = 0);
+
private slots:
void handleAnimationUpdated();
@@ -217,6 +223,9 @@
HbTimerSignalEntry *mTimerEntry;
QPixmap mCurrentFrame;
QPixmap mLastFrame;
+ int mLoopCount;
+ bool mCustomLoopCountSet;
+ int mCustomLoopCount;
};
class HbIconAnimationFrameSet : public HbIconAnimation
@@ -257,6 +266,9 @@
QPixmap currentFrame() const;
+ void setLoopCount(int loopCount);
+ bool loopCountSet(int *loopCount = 0);
+
public slots:
void animationTimeout();
@@ -272,6 +284,8 @@
bool mMirrored;
HbTimerSignalEntry *mTimerEntry;
+ bool mManualLoopingSet;
+ bool mManualLooping;
};