def METHOD_NAME(self, doc):
    if doc not in self.docs:
        self.docs.append(doc)
        self.blockSignals(True)
        self.addTab('')
        self.blockSignals(False)
        self.setDocumentStatus(doc)