diff options
Diffstat (limited to 'src/declarative/fx/qfximage.h')
-rw-r--r-- | src/declarative/fx/qfximage.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/declarative/fx/qfximage.h b/src/declarative/fx/qfximage.h index 642e4c8..b31da29 100644 --- a/src/declarative/fx/qfximage.h +++ b/src/declarative/fx/qfximage.h @@ -51,20 +51,12 @@ QT_BEGIN_NAMESPACE QT_MODULE(Declarative) class QFxImagePrivate; -class QFxScaleGrid; -class QFxGridScaledImage; class Q_DECLARATIVE_EXPORT QFxImage : public QFxImageBase { Q_OBJECT - Q_ENUMS(Status) Q_ENUMS(FillMode) - Q_PROPERTY(Status status READ status NOTIFY statusChanged) - Q_PROPERTY(QUrl source READ source WRITE setSource NOTIFY sourceChanged) - Q_PROPERTY(qreal progress READ progress NOTIFY progressChanged) - - Q_PROPERTY(QFxScaleGrid *scaleGrid READ scaleGrid) Q_PROPERTY(QPixmap pixmap READ pixmap WRITE setPixmap DESIGNABLE false) Q_PROPERTY(FillMode fillMode READ fillMode WRITE setFillMode NOTIFY fillModeChanged); @@ -79,35 +71,17 @@ public: QPixmap pixmap() const; void setPixmap(const QPixmap &); - enum Status { Null, Ready, Loading, Error }; - Status status() const; - qreal progress() const; - - QUrl source() const; - virtual void setSource(const QUrl &url); - void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *); Q_SIGNALS: - void sourceChanged(const QUrl &); - void statusChanged(Status); - void progressChanged(qreal progress); void fillModeChanged(); protected: QFxImage(QFxImagePrivate &dd, QFxItem *parent); - virtual void componentComplete(); - -private Q_SLOTS: - void requestFinished(); - void sciRequestFinished(); - void requestProgress(qint64,qint64); private: Q_DISABLE_COPY(QFxImage) Q_DECLARE_PRIVATE_D(QGraphicsItem::d_ptr, QFxImage) - void setGridScaledImage(const QFxGridScaledImage& sci); - QFxScaleGrid *scaleGrid(); }; QT_END_NAMESPACE |