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

Method category

plugins/documentview/kdevdocumentmodel.cpp:106–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106KDevCategoryItem* KDevDocumentModel::category( const QString& category ) const
107{
108 const auto categoryList = this->categoryList();
109 for (KDevCategoryItem* item : categoryList) {
110 if ( item->toolTip() == category )
111 return item;
112 }
113
114 return nullptr;
115}
116
117#include "moc_kdevdocumentmodel.cpp"

Callers 3

isIdentifierStartFunction · 0.45
isIdentifierPartFunction · 0.45
openedMethod · 0.45

Calls 2

categoryListMethod · 0.95
toolTipMethod · 0.45

Tested by

no test coverage detected