MCPcopy Create free account
hub / github.com/KDE/kdevelop / clear

Method clear

plugins/grepview/grepoutputmodel.cpp:195–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193{}
194
195void GrepOutputModel::clear()
196{
197 QStandardItemModel::clear();
198 // the above clear() also destroys the root item, so invalidate the pointer
199 m_rootItem = nullptr;
200
201 m_fileCount = 0;
202 m_matchCount = 0;
203}
204
205void GrepOutputModel::setRegExp(const QRegExp& re)
206{

Callers 3

startMethod · 0.45
historySearchMethod · 0.45
clearSearchHistoryMethod · 0.45

Calls 1

clearFunction · 0.50

Tested by

no test coverage detected