MCPcopy Create free account
hub / github.com/SpartanJ/eepp / updateOpenDocumentsTable

Method updateOpenDocumentsTable

src/tools/ecode/universallocator.cpp:752–758  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752void UniversalLocator::updateOpenDocumentsTable() {
753 mLocateTable->setModel(
754 openDocumentsModel( mLocateInput->getText().substr( 2 ).trim().toUtf8() ) );
755 if ( mLocateTable->getModel()->hasChildren() )
756 mLocateTable->getSelection().set( mLocateTable->getModel()->index( 0 ) );
757 mLocateTable->scrollToTop();
758}
759
760void UniversalLocator::showSwitchBuild() {
761 showBar();

Callers

nothing calls this directly

Calls 11

toUtf8Method · 0.80
trimMethod · 0.80
substrMethod · 0.80
scrollToTopMethod · 0.80
setModelMethod · 0.45
getTextMethod · 0.45
hasChildrenMethod · 0.45
getModelMethod · 0.45
setMethod · 0.45
getSelectionMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected