402 txt = self.trUtf8("{0} (ro)").format(txt) |
402 txt = self.trUtf8("{0} (ro)").format(txt) |
403 itm = self.viewlist.item(index) |
403 itm = self.viewlist.item(index) |
404 itm.setText(txt) |
404 itm.setText(txt) |
405 itm.setToolTip(newName) |
405 itm.setToolTip(newName) |
406 self.viewlist.setCurrentRow(currentRow) |
406 self.viewlist.setCurrentRow(currentRow) |
407 self.emit(SIGNAL('changeCaption'), unicode(newName)) |
407 self.emit(SIGNAL('changeCaption'), newName) |
408 |
408 |
409 def _modificationStatusChanged(self, m, editor): |
409 def _modificationStatusChanged(self, m, editor): |
410 """ |
410 """ |
411 Protected slot to handle the modificationStatusChanged signal. |
411 Protected slot to handle the modificationStatusChanged signal. |
412 |
412 |