src/eric7/EricNetwork/EricSslCertificatesDialog.py

branch
eric7
changeset 10423
299802979277
parent 10331
c1a2ff7e3575
child 10439
21c28b0f9e41
--- a/src/eric7/EricNetwork/EricSslCertificatesDialog.py	Tue Dec 19 11:04:03 2023 +0100
+++ b/src/eric7/EricNetwork/EricSslCertificatesDialog.py	Tue Dec 19 19:57:08 2023 +0100
@@ -34,7 +34,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -71,8 +72,10 @@
         """
         Private method to create a server certificate entry.
 
-        @param server server name of the certificate (string)
-        @param cert certificate to insert (QSslCertificate)
+        @param server server name of the certificate
+        @type str
+        @param cert certificate to insert
+        @type QSslCertificate
         """
         # step 1: extract the info to be shown
         organisation = Utilities.decodeString(
@@ -107,8 +110,10 @@
         Private slot handling a change of the current item in the
         server certificates list.
 
-        @param current new current item (QTreeWidgetItem)
-        @param previous previous current item (QTreeWidgetItem)
+        @param current new current item
+        @type QTreeWidgetItem
+        @param previous previous current item
+        @type QTreeWidgetItem
         """
         enable = current is not None and current.parent() is not None
         self.serversViewButton.setEnabled(enable)
@@ -264,7 +269,8 @@
         """
         Private method to get the list of system certificates.
 
-        @return list of system certificates (list of QSslCertificate)
+        @return list of system certificates
+        @rtype list of QSslCertificate
         """
         caList = QSslCertificate.fromData(
             Globals.toByteArray(
@@ -291,7 +297,8 @@
         """
         Private method to create a CA certificate entry.
 
-        @param cert certificate to insert (QSslCertificate)
+        @param cert certificate to insert
+        @type QSslCertificate
         """
         # step 1: extract the info to be shown
         organisation = Utilities.decodeString(
@@ -326,8 +333,10 @@
         Private slot handling a change of the current item
         in the CA certificates list.
 
-        @param current new current item (QTreeWidgetItem)
-        @param previous previous current item (QTreeWidgetItem)
+        @param current new current item
+        @type QTreeWidgetItem
+        @param previous previous current item
+        @type QTreeWidgetItem
         """
         enable = current is not None and current.parent() is not None
         self.caViewButton.setEnabled(enable)

eric ide

mercurial