purchasableitem.h 615 B

1234567891011121314151617181920212223242526
  1. /**
  2. * Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
  3. * All rights reserved.
  4. *
  5. * For the applicable distribution terms see the license.txt -file, included in
  6. * the distribution.
  7. */
  8. #ifndef PURCHASABLEITEM_H
  9. #define PURCHASABLEITEM_H
  10. #include "purchasableitembase.h"
  11. class PurchasableItem : public PurchasableItemBase
  12. {
  13. Q_OBJECT
  14. public:
  15. explicit PurchasableItem(DeclarativePurchaseListModel& model, QString& productID, QString& productUrl);
  16. protected:
  17. void setUnlocked(QString* purchaseTicket);
  18. bool isPurchased();
  19. };
  20. #endif // PURCHASABLEITEM_H