const int index = m_model->index(this);
QSet<QByteArray> changedRoles;
changedRoles.insert(role);
+ m_model->onItemChanged(index, changedRoles);
emit m_model->itemsChanged(KItemRangeList() << KItemRange(index, 1), changedRoles);
}
}
{
return m_children;
}
+
+void KStandardItem::onDataValueChanged(const QByteArray& role,
+ const QVariant& current,
+ const QVariant& previous)
+{
+ Q_UNUSED(role);
+ Q_UNUSED(current);
+ Q_UNUSED(previous);
+}
+
+void KStandardItem::onDataChanged(const QHash<QByteArray, QVariant>& current,
+ const QHash<QByteArray, QVariant>& previous)
+{
+ Q_UNUSED(current);
+ Q_UNUSED(previous);
+}
+