159 @type QUrl |
159 @type QUrl |
160 @return string representation of the URL |
160 @return string representation of the URL |
161 @rtype str |
161 @rtype str |
162 """ |
162 """ |
163 return url.toString(QUrl.PrettyDecoded | QUrl.RemoveUserInfo | |
163 return url.toString(QUrl.PrettyDecoded | QUrl.RemoveUserInfo | |
164 QUrl.RemoveFragment| QUrl.RemovePath) |
164 QUrl.RemoveFragment | QUrl.RemovePath) |
165 |
165 |
166 def iconForUrl(self, url): |
166 def iconForUrl(self, url): |
167 """ |
167 """ |
168 Public method to get an icon for an URL. |
168 Public method to get an icon for an URL. |
169 |
169 |