1234567891011121314151617181920212223242526272829303132333435363738 |
- /**
- * 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 PURCHASABLEITEM_H
- #define PURCHASABLEITEM_H
- #include "purchasableitembase.h"
- /*!
- \class PurchasableItem
- \brief Implementation of the base abstract class PurchasableItemBase
- */
- class PurchasableItem : public PurchasableItemBase
- {
- Q_OBJECT
- public:
- /*!
- Constructor
- */
- explicit PurchasableItem(ProductListModel &model,
- const QString &productID,
- const QString &productUrl);
- protected:
- /*!
- base class abstract methods implementation
- */
- void setUnlocked(QString *purchaseTicket);
- bool isPurchased();
- };
- #endif // PURCHASABLEITEM_H
|