**
****************************************************************************/
-#ifndef SPRITESTATE_H
-#define SPRITESTATE_H
+#ifndef QQUICKSPRITE_P_H
+#define QQUICKSPRITE_P_H
#include <QObject>
#include <QUrl>
#include <QVariantMap>
#include <QDeclarativeListProperty>
-#include "qsgspriteengine_p.h"
+#include "qquickspriteengine_p.h"
QT_BEGIN_HEADER
QT_MODULE(Declarative)
-class QSGSprite : public QSGStochasticState
+class QQuickSprite : public QQuickStochasticState
{
Q_OBJECT
Q_PROPERTY(QUrl source READ source WRITE setSource NOTIFY sourceChanged)
Q_PROPERTY(int frameWidth READ frameWidth WRITE setFrameWidth NOTIFY frameWidthChanged)
public:
- explicit QSGSprite(QObject *parent = 0);
+ explicit QQuickSprite(QObject *parent = 0);
QUrl source() const
{
private:
friend class QSGImageParticle;
- friend class QSGSpriteEngine;
- friend class QSGStochasticEngine;
+ friend class QQuickSpriteEngine;
+ friend class QQuickStochasticEngine;
int m_generatedCount;
int m_framesPerRow;
QUrl m_source;
QT_END_NAMESPACE
QT_END_HEADER
-#endif // SPRITESTATE_H
+#endif // QQUICKSPRITE_P_H