--- a/src/eric7/WebBrowser/UserAgent/UserAgentMenu.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/UserAgent/UserAgentMenu.py Fri Dec 22 17:24:07 2023 +0100 @@ -28,9 +28,12 @@ """ Constructor - @param title title of the menu (string) - @param url URL to set user agent for (QUrl) - @param parent reference to the parent widget (QWidget) + @param title title of the menu + @type str + @param url URL to set user agent for + @type QUrl + @param parent reference to the parent widget + @type QWidget """ super().__init__(title, parent) @@ -124,7 +127,8 @@ """ Private slot to add the default user agent entries. - @return flag indicating that a user agent entry is checked (boolean) + @return flag indicating that a user agent entry is checked + @rtype bool """ defaultUserAgents = QFile( os.path.join(os.path.dirname(__file__), "UserAgentDefaults.xml")