Cooperation/ChatWidget.py

changeset 5587
ea526b78ee6c
parent 5389
9b1c800daff3
child 6048
82ad8ec9548c
diff -r 0e5421d679e7 -r ea526b78ee6c Cooperation/ChatWidget.py
--- a/Cooperation/ChatWidget.py	Tue Mar 07 18:46:09 2017 +0100
+++ b/Cooperation/ChatWidget.py	Tue Mar 07 18:53:18 2017 +0100
@@ -33,7 +33,7 @@
     
     @signal connected(connected) emitted to signal a change of the connected
             state (bool)
-    @signal editorCommand(hash, filename, message) emitted when an editor
+    @signal editorCommand(hashStr, filename, message) emitted when an editor
             command has been received (string, string, string)
     @signal shareEditor(share) emitted to signal a share is requested (bool)
     @signal startEdit() emitted to start a shared edit session
@@ -391,15 +391,15 @@
         """
         return self.__client
     
-    def __editorCommandMessage(self, hash, fileName, message):
+    def __editorCommandMessage(self, hashStr, fileName, message):
         """
         Private slot to handle editor command messages from the client.
         
-        @param hash hash of the project (string)
+        @param hashStr hash of the project (string)
         @param fileName project relative file name of the editor (string)
         @param message command message (string)
         """
-        self.editorCommand.emit(hash, fileName, message)
+        self.editorCommand.emit(hashStr, fileName, message)
         
         from QScintilla.Editor import Editor
         if message.startswith(Editor.StartEditToken + Editor.Separator) or \

eric ide

mercurial