--- a/src/eric7/EricNetwork/EricUrlInfo.py Tue Dec 19 11:04:03 2023 +0100 +++ b/src/eric7/EricNetwork/EricUrlInfo.py Tue Dec 19 19:57:08 2023 +0100 @@ -57,7 +57,8 @@ """ Public method to check the validity of the object. - @return flag indicating validity (boolean) + @return flag indicating validity + @rtype bool """ return self.__valid @@ -65,7 +66,8 @@ """ Public method to set the name. - @param name name to be set (string) + @param name name to be set + @type str """ self.__name = name self.__valid = True @@ -74,7 +76,8 @@ """ Public method to set the permissions. - @param permissions permissions to be set (integer) + @param permissions permissions to be set + @type int """ self.__permissions = permissions self.__valid = True @@ -83,7 +86,8 @@ """ Public method to indicate a directory. - @param isDir flag indicating a directory (boolean) + @param isDir flag indicating a directory + @type bool """ self.__isDir = isDir self.__valid = True @@ -92,7 +96,8 @@ """ Public method to indicate a file. - @param isFile flag indicating a file (boolean) + @param isFile flag indicating a file + @type bool """ self.__isFile = isFile self.__valid = True @@ -101,7 +106,8 @@ """ Public method to indicate a symbolic link. - @param isSymLink flag indicating a symbolic link (boolean) + @param isSymLink flag indicating a symbolic link + @type bool """ self.__isSymLink = isSymLink self.__valid = True @@ -110,7 +116,8 @@ """ Public method to set the owner. - @param owner owner to be set (string) + @param owner owner to be set + @type str """ self.__owner = owner self.__valid = True @@ -119,7 +126,8 @@ """ Public method to set the group. - @param group group to be set (string) + @param group group to be set + @type str """ self.__group = group self.__valid = True @@ -128,7 +136,8 @@ """ Public method to set the size. - @param size size to be set (integer) + @param size size to be set + @type int """ self.__size = size self.__valid = True @@ -137,7 +146,8 @@ """ Public method to a writable entry. - @param isWritable flag indicating a writable entry (boolean) + @param isWritable flag indicating a writable entry + @type bool """ self.__isWritable = isWritable self.__valid = True @@ -146,7 +156,8 @@ """ Public method to a readable entry. - @param isReadable flag indicating a readable entry (boolean) + @param isReadable flag indicating a readable entry + @type bool """ self.__isReadable = isReadable self.__valid = True @@ -155,7 +166,8 @@ """ Public method to set the last modified date and time. - @param dt date and time to set (QDateTime) + @param dt date and time to set + @type QDateTime """ self.__lastModified = QDateTime(dt) self.__valid = True @@ -164,7 +176,8 @@ """ Public method to set the last read date and time. - @param dt date and time to set (QDateTime) + @param dt date and time to set + @type QDateTime """ self.__lastRead = QDateTime(dt) self.__valid = True @@ -173,7 +186,8 @@ """ Public method to get the name. - @return name (string) + @return name + @rtype str """ return self.__name @@ -181,7 +195,8 @@ """ Public method to get the permissions. - @return permissions (integer) + @return permissions + @rtype int """ return self.__permissions @@ -189,7 +204,8 @@ """ Public method to get the owner. - @return owner (string) + @return owner + @rtype str """ return self.__owner @@ -197,7 +213,8 @@ """ Public method to get the group. - @return group (string) + @return group + @rtype str """ return self.__group @@ -205,7 +222,8 @@ """ Public method to get the size. - @return size (integer) + @return size + @rtype int """ return self.__size @@ -213,7 +231,8 @@ """ Public method to get the last modified date and time. - @return last modified date and time (QDateTime) + @return last modified date and time + @rtype QDateTime """ return QDateTime(self.__lastModified) @@ -221,7 +240,8 @@ """ Public method to get the last read date and time. - @return last read date and time (QDateTime) + @return last read date and time + @rtype QDateTime """ return QDateTime(self.__lastRead) @@ -229,7 +249,8 @@ """ Public method to test, if the entry is a directory. - @return flag indicating a directory (boolean) + @return flag indicating a directory + @rtype bool """ return self.__isDir @@ -237,7 +258,8 @@ """ Public method to test, if the entry is a file. - @return flag indicating a file (boolean) + @return flag indicating a file + @rtype bool """ return self.__isFile @@ -245,7 +267,8 @@ """ Public method to test, if the entry is a symbolic link. - @return flag indicating a symbolic link (boolean) + @return flag indicating a symbolic link + @rtype bool """ return self.__isSymlink @@ -253,7 +276,8 @@ """ Public method to test, if the entry is writable. - @return flag indicating writable (boolean) + @return flag indicating writable + @rtype bool """ return self.__isWritable @@ -261,7 +285,8 @@ """ Public method to test, if the entry is readable. - @return flag indicating readable (boolean) + @return flag indicating readable + @rtype bool """ return self.__isReadable @@ -269,6 +294,7 @@ """ Public method to test, if the entry is executable. - @return flag indicating executable (boolean) + @return flag indicating executable + @rtype bool """ return self.__isExecutable