5495 if it is inside a locally initiated shared edit session and |
5495 if it is inside a locally initiated shared edit session and |
5496 if it is inside a remotely initiated shared edit session |
5496 if it is inside a remotely initiated shared edit session |
5497 (boolean, boolean, boolean, boolean) |
5497 (boolean, boolean, boolean, boolean) |
5498 """ |
5498 """ |
5499 project = e5App().getObject("Project") |
5499 project = e5App().getObject("Project") |
5500 return project.isOpen() and project.isProjectFile(self.fileName), \ |
5500 return self.fileName is not None and \ |
|
5501 project.isOpen() and \ |
|
5502 project.isProjectFile(self.fileName), \ |
5501 self.__isShared, self.__inSharedEdit, self.__inRemoteSharedEdit |
5503 self.__isShared, self.__inSharedEdit, self.__inRemoteSharedEdit |
5502 |
5504 |
5503 def shareConnected(self, connected): |
5505 def shareConnected(self, connected): |
5504 """ |
5506 """ |
5505 Public slot to handle a change of the connected state. |
5507 Public slot to handle a change of the connected state. |