Thu, 10 Apr 2014 23:02:20 +0200
updated coverage to 3.7.1
(grafted from fac17a82b4314c14a5eea4fdc158059fa0540566)
# -*- coding: utf-8 -*- # Copyright (c) 2009 - 2014 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing the base class for specific scheme access handlers. """ from PyQt4.QtCore import QObject class SchemeAccessHandler(QObject): """ Clase implementing the base class for specific scheme access handlers. """ def __init__(self, parent=None): """ Constructor @param parent reference to the parent object (QObject) """ super().__init__(parent) def createRequest(self, op, request, outgoingData=None): """ Protected method to create a request. @param op the operation to be performed (QNetworkAccessManager.Operation) @param request reference to the request object (QNetworkRequest) @param outgoingData reference to an IODevice containing data to be sent (QIODevice) @ireturn reference to the created reply object (QNetworkReply) @exception NotImplementedError raised to indicate that the method must be implemented by a subclass """ raise NotImplementedError()