Configuration pages: corrected the constructor of some configuration pages.

Sat, 30 Jun 2018 13:56:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 30 Jun 2018 13:56:44 +0200
changeset 6380
4a932a7ab987
parent 6379
1c226fab4236
child 6381
37f23590dbbc

Configuration pages: corrected the constructor of some configuration pages.

Preferences/ConfigurationPages/EditorDocViewerPage.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/EditorSyntaxPage.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/HelpVirusTotalPage.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/MimeTypesPage.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/TrayStarterPage.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py file | annotate | diff | comparison | revisions
--- a/Preferences/ConfigurationPages/EditorDocViewerPage.py	Sat Jun 30 12:22:31 2018 +0200
+++ b/Preferences/ConfigurationPages/EditorDocViewerPage.py	Sat Jun 30 13:56:44 2018 +0200
@@ -21,12 +21,9 @@
     """
     Class implementing the Editor Documentation Viewer configuration page.
     """
-    def __init__(self, parent=None):
+    def __init__(self):
         """
         Constructor
-        
-        @param parent reference to the parent widget
-        @type QWidget
         """
         super(EditorDocViewerPage, self).__init__()
         self.setupUi(self)
--- a/Preferences/ConfigurationPages/EditorSyntaxPage.py	Sat Jun 30 12:22:31 2018 +0200
+++ b/Preferences/ConfigurationPages/EditorSyntaxPage.py	Sat Jun 30 13:56:44 2018 +0200
@@ -19,11 +19,9 @@
     """
     Class implementing the Editor Syntax Checker configuration page.
     """
-    def __init__(self, parent=None):
+    def __init__(self):
         """
         Constructor
-        
-        @param parent reference to the parent widget (QWidget)
         """
         super(EditorSyntaxPage, self).__init__()
         self.setupUi(self)
--- a/Preferences/ConfigurationPages/HelpVirusTotalPage.py	Sat Jun 30 12:22:31 2018 +0200
+++ b/Preferences/ConfigurationPages/HelpVirusTotalPage.py	Sat Jun 30 13:56:44 2018 +0200
@@ -21,11 +21,9 @@
     """
     Class implementing VirusTotal configuration page (help viewer variant).
     """
-    def __init__(self, parent=None):
+    def __init__(self):
         """
         Constructor
-        
-        @param parent reference to the parent widget (QWidget)
         """
         super(HelpVirusTotalPage, self).__init__()
         self.setupUi(self)
@@ -113,5 +111,5 @@
     @param dlg reference to the configuration dialog
     @return reference to the instantiated page (ConfigurationPageBase)
     """
-    page = HelpVirusTotalPage(dlg)
+    page = HelpVirusTotalPage()
     return page
--- a/Preferences/ConfigurationPages/MimeTypesPage.py	Sat Jun 30 12:22:31 2018 +0200
+++ b/Preferences/ConfigurationPages/MimeTypesPage.py	Sat Jun 30 13:56:44 2018 +0200
@@ -23,11 +23,9 @@
     """
     Class implementing the Text Mime Types configuration page.
     """
-    def __init__(self, parent=None):
+    def __init__(self):
         """
         Constructor
-        
-        @param parent reference to the parent widget (QWidget)
         """
         super(MimeTypesPage, self).__init__()
         self.setupUi(self)
--- a/Preferences/ConfigurationPages/TrayStarterPage.py	Sat Jun 30 12:22:31 2018 +0200
+++ b/Preferences/ConfigurationPages/TrayStarterPage.py	Sat Jun 30 13:56:44 2018 +0200
@@ -20,11 +20,9 @@
     """
     Class implementing the tray starter configuration page.
     """
-    def __init__(self, parent=None):
+    def __init__(self):
         """
         Constructor
-        
-        @param parent reference to the parent widget (QWidget)
         """
         super(TrayStarterPage, self).__init__()
         self.setupUi(self)
--- a/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py	Sat Jun 30 12:22:31 2018 +0200
+++ b/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py	Sat Jun 30 13:56:44 2018 +0200
@@ -21,11 +21,9 @@
     """
     Class implementing VirusTotal configuration page (web browser variant).
     """
-    def __init__(self, parent=None):
+    def __init__(self):
         """
         Constructor
-        
-        @param parent reference to the parent widget (QWidget)
         """
         super(WebBrowserVirusTotalPage, self).__init__()
         self.setupUi(self)

eric ide

mercurial