1234567891011121314151617181920212223242526272829 |
- /**
- * Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
- * All rights reserved.
- *
- * For the applicable distribution terms see the license.txt -file, included in
- * the distribution.
- */
- #ifndef ITEMSTATUSIMAGEPROVIDER_H
- #define ITEMSTATUSIMAGEPROVIDER_H
- #include <QDeclarativeImageProvider>
- #include <QImage>
- class DeclarativePurchaseListModel;
- class ItemstatusImageProvider : public QDeclarativeImageProvider
- {
- public:
- ItemstatusImageProvider(DeclarativePurchaseListModel& model);
- QImage requestImage ( const QString & id, QSize * size, const QSize & requestedSize );
- private:
- DeclarativePurchaseListModel *m_model;
- };
- #endif // ITEMSTATUSIMAGEPROVIDER_H
|