CacheableItem Class
(QInstaller::CacheableItem)The CacheableItem is a pure virtual class that defines an interface for a type suited for storage with the GenericDataCache class. More...
Header: | #include <CacheableItem> |
Inherited By: |
Public Functions
CacheableItem() | |
CacheableItem(const QString &path) | |
virtual | ~CacheableItem() = 0 |
virtual QByteArray | checksum() const = 0 |
virtual bool | isActive() const = 0 |
virtual bool | isValid() const = 0 |
virtual bool | obsoletes(QInstaller::CacheableItem *other) = 0 |
virtual QString | path() const |
virtual void | setPath(const QString &path) |
Detailed Description
The CacheableItem is a pure virtual class that defines an interface for a type suited for storage with the GenericDataCache class.
Member Function Documentation
CacheableItem::CacheableItem()
Default constructs an instance of CacheableItem.
CacheableItem::CacheableItem(const QString &path)
Default constructs an instance of CacheableItem.
[pure virtual]
CacheableItem::~CacheableItem()
Destroys the instance of CacheableItem.
[pure virtual]
QByteArray CacheableItem::checksum() const
[pure virtual]
bool CacheableItem::isActive() const
[pure virtual]
bool CacheableItem::isValid() const
[pure virtual]
bool CacheableItem::obsoletes(QInstaller::CacheableItem *other)
[virtual]
QString CacheableItem::path() const
See also setPath().
[virtual]
void CacheableItem::setPath(const QString &path)
See also path().