src/eric7/Project/ProjectBrowser.py

branch
eric7-maintenance
changeset 10460
3b34efa2857c
parent 10079
0222a480e93d
parent 10439
21c28b0f9e41
child 10659
43ead32943ca
--- a/src/eric7/Project/ProjectBrowser.py	Sun Dec 03 14:54:00 2023 +0100
+++ b/src/eric7/Project/ProjectBrowser.py	Mon Jan 01 11:10:45 2024 +0100
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 
-# Copyright (c) 2002 - 2023 Detlev Offenbach <detlev@die-offenbachs.de>
+# Copyright (c) 2002 - 2024 Detlev Offenbach <detlev@die-offenbachs.de>
 #
 
 """
@@ -98,7 +98,9 @@
         Constructor
 
         @param project reference to the project object
-        @param parent parent widget (QWidget)
+        @type Project
+        @param parent parent widget
+        @type QWidget
         """
         EricTabWidget.__init__(self, parent)
         self.project = project
@@ -248,7 +250,7 @@
         @return list of project browser types
         @rtype list of str
         """
-        return list(self.__browserRepository.keys())
+        return list(self.__browserRepository)
 
     def getProjectBrowserUserStrings(self):
         """
@@ -336,7 +338,8 @@
         """
         Private slot to handle the currentChanged(int) signal.
 
-        @param index index of the tab (integer)
+        @param index index of the tab
+        @type int
         """
         if index > -1:
             browser = self.widget(index)
@@ -378,7 +381,7 @@
         browsersList = (
             Preferences.getProjectBrowsers(self.project.getProjectType())
             if self.project.isOpen()
-            else list(self.__browserRepository.keys())
+            else list(self.__browserRepository)
         )
         browsersList = [b for b in browsersList if b in self.__browserRepository]
 
@@ -422,8 +425,10 @@
         """
         Public slot to handle the editorLineChanged signal.
 
-        @param fn filename of the changed file (string)
-        @param lineno one based line number of the item (integer)
+        @param fn filename of the changed file
+        @type str
+        @param lineno one based line number of the item
+        @type int
         """
         if (
             Preferences.getProject("FollowEditor")
@@ -467,7 +472,8 @@
         """
         Private slot to react upon clicks on the VCS indicator LED.
 
-        @param pos position of the click (QPoint)
+        @param pos position of the click
+        @type QPoint
         """
         vcs = self.project.getVcs()
         if vcs:

eric ide

mercurial