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

Method historyPrevious

plugins/contextbrowser/contextbrowser.cpp:1318–1327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316}
1317
1318void ContextBrowserPlugin::historyPrevious()
1319{
1320 if (m_nextHistoryIndex < 2) {
1321 return;
1322 }
1323 --m_nextHistoryIndex;
1324 openDocument(m_nextHistoryIndex - 1); // opening the document at given position
1325 // will update the widget for us
1326 updateButtonState();
1327}
1328
1329QString ContextBrowserPlugin::actionTextFor(int historyIndex) const
1330{

Callers 1

eventFilterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected