48 |
48 |
49 def setUrl(self, url): |
49 def setUrl(self, url): |
50 """ |
50 """ |
51 Public method to set the URL of the document to be shown. |
51 Public method to set the URL of the document to be shown. |
52 |
52 |
53 @param url source of the document |
53 @param url URL of the document |
54 @type QUrl |
54 @type QUrl |
55 @exception RuntimeError raised when not implemented |
55 @exception RuntimeError raised when not implemented |
56 """ |
56 """ |
57 raise RuntimeError("Not implemented") |
57 raise RuntimeError("Not implemented") |
|
58 |
|
59 def url(self): |
|
60 """ |
|
61 Public method to get the URL of the shown document. |
|
62 |
|
63 @return url URL of the document |
|
64 @rtype QUrl |
|
65 @exception RuntimeError raised when not implemented |
|
66 """ |
|
67 raise RuntimeError("Not implemented") |
|
68 return None |
58 |
69 |
59 def getData(self, url): |
70 def getData(self, url): |
60 """ |
71 """ |
61 Public method to get the data to be shown. |
72 Public method to get the data to be shown. |
62 |
73 |