1390 @param key name of list to return |
1390 @param key name of list to return |
1391 @type str (must be 'search' or 'replace') |
1391 @type str (must be 'search' or 'replace') |
1392 @return the requested history list |
1392 @return the requested history list |
1393 @rtype list of tuples of (int, str) |
1393 @rtype list of tuples of (int, str) |
1394 """ |
1394 """ |
1395 assert key in ['search', 'replace'] |
1395 if key in ['search', 'replace']: |
1396 |
1396 return self.__srHistory[key] |
1397 return self.__srHistory[key] |
1397 |
|
1398 return [] |
1398 |
1399 |
1399 @pyqtSlot() |
1400 @pyqtSlot() |
1400 def __showFileMenu(self): |
1401 def __showFileMenu(self): |
1401 """ |
1402 """ |
1402 Private slot to modify the file menu before being shown. |
1403 Private slot to modify the file menu before being shown. |