src/eric7/Toolbox/SingleApplication.py

branch
eric7
changeset 10431
64157aeb0312
parent 10303
ee1aadab1215
child 10439
21c28b0f9e41
--- a/src/eric7/Toolbox/SingleApplication.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/Toolbox/SingleApplication.py	Thu Dec 21 12:03:40 2023 +0100
@@ -25,7 +25,8 @@
         """
         Constructor
 
-        @param name name this server is listening to (string)
+        @param name name this server is listening to
+        @type str
         """
         super().__init__()
 
@@ -130,7 +131,8 @@
         """
         Constructor
 
-        @param name name of the local server to connect to (string)
+        @param name name of the local server to connect to
+        @type str
         """
         self.name = name
         self.connected = False
@@ -146,6 +148,7 @@
                 <tr><td>0</td><td>No application is running</td></tr>
                 <tr><td>1</td><td>Application is already running</td></tr>
             </table>
+        @rtype int
         """
         self.sock = QLocalSocket()
         self.sock.connectToServer(self.name)
@@ -202,6 +205,7 @@
         """
         Public method to return a meaningful error string for the last error.
 
-        @return error string for the last error (string)
+        @return error string for the last error
+        @rtype str
         """
         return self.sock.errorString()

eric ide

mercurial