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

Method index

kdevplatform/project/projectmodel.cpp:262–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262QModelIndex ProjectBaseItem::index() const
263{
264 if( model() ) {
265 return model()->indexFromItem( this );
266 }
267 return QModelIndex();
268}
269
270int ProjectBaseItem::rowCount() const
271{

Callers 15

filterAcceptsRowMethod · 0.45
initializeFromItemMethod · 0.45
validateMethod · 0.45
statusReadyMethod · 0.45
itemsAddedMethod · 0.45
debugItemModelFunction · 0.45
testCreateTargetItemsMethod · 0.45
testItemSanityMethod · 0.45
testRenameMethod · 0.45

Calls 6

modelFunction · 0.85
createIndexFunction · 0.85
indexFromItemMethod · 0.80
QModelIndexClass · 0.50
itemFromIndexMethod · 0.45
rowCountMethod · 0.45

Tested by 8

debugItemModelFunction · 0.36
testCreateTargetItemsMethod · 0.36
testItemSanityMethod · 0.36
testRenameMethod · 0.36
testWithProjectMethod · 0.36
testProjectProxyModelMethod · 0.36