Cooperation/ChatWidget.py

changeset 155
375e3c884874
parent 149
a134031209be
child 158
6a561f87bc07
diff -r 25d288e43a6c -r 375e3c884874 Cooperation/ChatWidget.py
--- a/Cooperation/ChatWidget.py	Thu Mar 25 18:29:33 2010 +0000
+++ b/Cooperation/ChatWidget.py	Fri Mar 26 15:43:36 2010 +0000
@@ -237,3 +237,9 @@
             self.serverPortSpin.setValue(Preferences.getCooperation("ServerPort"))
             if Preferences.getCooperation("AutoStartServer"):
                 self.on_serverButton_clicked()
+    
+    def getClient(self):
+        """
+        Public method to get a reference to the cooperation client.
+        """
+        return self.__client

eric ide

mercurial