40 |
40 |
41 @param url source of the document |
41 @param url source of the document |
42 @type QUrl |
42 @type QUrl |
43 """ |
43 """ |
44 self.setSource(url) |
44 self.setSource(url) |
|
45 |
|
46 def url(self): |
|
47 """ |
|
48 Public method to get the URL of the shown document. |
|
49 |
|
50 @return url URL of the document |
|
51 @rtype QUrl |
|
52 """ |
|
53 return self.source() |
45 |
54 |
46 def doSetSource(self, url, type): |
55 def doSetSource(self, url, type): |
47 """ |
56 """ |
48 Public method to load the data and show it. |
57 Public method to load the data and show it. |
49 |
58 |