| 1316 | } |
| 1317 | |
| 1318 | void 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 | |
| 1329 | QString ContextBrowserPlugin::actionTextFor(int historyIndex) const |
| 1330 | { |