6 """ |
6 """ |
7 Module implementing the base class for specific scheme access handlers. |
7 Module implementing the base class for specific scheme access handlers. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt4.QtCore import QObject |
10 from PyQt4.QtCore import QObject |
11 from PyQt4.QtNetwork import QNetworkReply |
|
12 |
11 |
13 |
12 |
14 class SchemeAccessHandler(QObject): |
13 class SchemeAccessHandler(QObject): |
15 """ |
14 """ |
16 Clase implementing the base class for specific scheme access handlers. |
15 Clase implementing the base class for specific scheme access handlers. |
30 @param op the operation to be performed |
29 @param op the operation to be performed |
31 (QNetworkAccessManager.Operation) |
30 (QNetworkAccessManager.Operation) |
32 @param request reference to the request object (QNetworkRequest) |
31 @param request reference to the request object (QNetworkRequest) |
33 @param outgoingData reference to an IODevice containing data to be sent |
32 @param outgoingData reference to an IODevice containing data to be sent |
34 (QIODevice) |
33 (QIODevice) |
35 @return reference to the created reply object (QNetworkReply) |
34 @ireturn reference to the created reply object (QNetworkReply) |
36 @exception NotImplementedError raised to indicate that the method must |
35 @exception NotImplementedError raised to indicate that the method must |
37 be implemented by a subclass |
36 be implemented by a subclass |
38 """ |
37 """ |
39 raise NotImplementedError() |
38 raise NotImplementedError() |
40 return QNetworkReply() |
|