+ // highlight the API call cell if it has a substring which matches the searchString
+ if (role == Qt::BackgroundRole && index.column() == VOGL_ACTC_APICALL)
+ {
+ if (!m_searchString.isEmpty())
+ {
+ QVariant data = pItem->columnData(VOGL_ACTC_APICALL, Qt::DisplayRole);
+ QString string = data.toString();
+ if (string.contains(m_searchString, Qt::CaseInsensitive))
+ {
+ return QColor(Qt::yellow);
+ }
+ }
+ }
+
+ return pItem->columnData(index.column(), role);