Commit 3a6ea30c authored by Stepan Salenikovich's avatar Stepan Salenikovich Committed by Alexandre Lision

pixmapmanipulatori: adapt to new API

Add new virtual pure methods.

Change-Id: Ifa843495a1c2bb3f39d5b8ecd697c9a2aac3d56b
Tuleap: #170
parent 9fe374b1
......@@ -46,6 +46,10 @@ namespace Interfaces {
QVariant historySortingCategoryIcon(const CategorizedHistoryModel::SortedProxy::Categories cat) const override;
QVariant contactSortingCategoryIcon(const CategorizedContactModel::SortedProxy::Categories cat) const override;
QVariant userActionIcon(const UserActionElement& state) const override;
QVariant decorationRole(const QModelIndex& index) override;
QVariant decorationRole(const Call* c) override;
QVariant decorationRole(const ContactMethod* cm) override;
QVariant decorationRole(const Person* p) override;
private:
//Helper
......
......@@ -205,4 +205,28 @@ namespace Interfaces {
return QVariant();
}
QVariant ImageManipulationDelegate::decorationRole(const QModelIndex& index)
{
Q_UNUSED(index)
return QVariant();
}
QVariant ImageManipulationDelegate::decorationRole(const Call* c)
{
Q_UNUSED(c)
return QVariant();
}
QVariant ImageManipulationDelegate::decorationRole(const ContactMethod* cm)
{
Q_UNUSED(cm)
return QVariant();
}
QVariant ImageManipulationDelegate::decorationRole(const Person* p)
{
Q_UNUSED(p)
return QVariant();
}
} // namespace Interfaces
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment