348 act.setData([fileName, lineno]) |
348 act.setData([fileName, lineno]) |
349 |
349 |
350 def _gotoAttribute(self, act): |
350 def _gotoAttribute(self, act): |
351 """ |
351 """ |
352 Protected slot to handle the selection of the goto menu. |
352 Protected slot to handle the selection of the goto menu. |
|
353 |
|
354 @param act reference to the action (E5Action) |
353 """ |
355 """ |
354 fileName, lineno = act.data() |
356 fileName, lineno = act.data() |
355 self.sourceFile[str, int].emit(fileName, lineno) |
357 self.sourceFile[str, int].emit(fileName, lineno) |
356 |
358 |
357 def handlePreferencesChanged(self): |
359 def handlePreferencesChanged(self): |
515 e5App().getObject("UserInterface").showReplaceFilesDialog(searchDir=searchDir) |
517 e5App().getObject("UserInterface").showReplaceFilesDialog(searchDir=searchDir) |
516 |
518 |
517 def handleProgramChange(self, fn): |
519 def handleProgramChange(self, fn): |
518 """ |
520 """ |
519 Public slot to handle the programChange signal. |
521 Public slot to handle the programChange signal. |
|
522 |
|
523 @param fn file name (string) |
520 """ |
524 """ |
521 self.__model.programChange(os.path.dirname(fn)) |
525 self.__model.programChange(os.path.dirname(fn)) |
522 |
526 |
523 def wantedItem(self, itm, filter=None): |
527 def wantedItem(self, itm, filter=None): |
524 """ |
528 """ |