m_editedValues = lst;
//lets regenerate data
m_richText = QString();
- m_filterText = QString();
+ m_searchText = QString();
delete m_staticText;
m_staticText = 0;
return m_richText;
}
-QString ApiTraceCall::filterText() const
+QString ApiTraceCall::searchText() const
{
- if (!m_filterText.isEmpty())
- return m_filterText;
+ if (!m_searchText.isEmpty())
+ return m_searchText;
QVariantList argValues = arguments();
- m_filterText = m_name + QLatin1Literal("(");
+ m_searchText = m_name + QLatin1Literal("(");
for (int i = 0; i < m_argNames.count(); ++i) {
- m_filterText += m_argNames[i] +
+ m_searchText += m_argNames[i] +
QLatin1Literal(" = ") +
apiVariantToString(argValues[i]);
if (i < m_argNames.count() - 1)
- m_filterText += QLatin1String(", ");
+ m_searchText += QLatin1String(", ");
}
- m_filterText += QLatin1String(")");
+ m_searchText += QLatin1String(")");
if (m_returnValue.isValid()) {
- m_filterText += QLatin1Literal(" = ") +
+ m_searchText += QLatin1Literal(" = ") +
apiVariantToString(m_returnValue);
}
- m_filterText.squeeze();
- return m_filterText;
+ m_searchText.squeeze();
+ return m_searchText;
}
int ApiTraceCall::numChildren() const
ApiTrace *parentTrace() const;
QString toHtml() const;
- QString filterText() const;
+ QString searchText() const;
QStaticText staticText() const;
int numChildren() const;
bool hasBinaryData() const;
QString m_error;
mutable QString m_richText;
- mutable QString m_filterText;
+ mutable QString m_searchText;
mutable bool m_hasBinaryData;
mutable int m_binaryDataIndex;
};
/* if it's not valid it means that the proxy model has already
* filtered it out */
if (index.isValid()) {
- QString txt = testCall->filterText();
+ QString txt = testCall->searchText();
if (txt.contains(str, sensitivity)) {
m_ui.callView->setCurrentIndex(index);
m_searchWidget->setFound(true);
/* if it's not valid it means that the proxy model has already
* filtered it out */
if (index.isValid()) {
- QString txt = testCall->filterText();
+ QString txt = testCall->searchText();
if (txt.contains(str, sensitivity)) {
m_ui.callView->setCurrentIndex(index);
m_searchWidget->setFound(true);