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

Method historyNext

plugins/contextbrowser/contextbrowser.cpp:1286–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1284}
1285
1286void ContextBrowserPlugin::historyNext()
1287{
1288 if (m_nextHistoryIndex >= m_history.size()) {
1289 return;
1290 }
1291 openDocument(m_nextHistoryIndex); // opening the document at given position
1292 // will update the widget for us
1293 ++m_nextHistoryIndex;
1294 updateButtonState();
1295}
1296
1297void ContextBrowserPlugin::openDocument(int historyIndex)
1298{

Callers 1

eventFilterMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected