Helpviewer/Network/SchemeAccessHandler.py

changeset 2954
bf0215fe12d1
parent 2302
f29e9405c851
child 2962
d6c9d1ca2da4
--- a/Helpviewer/Network/SchemeAccessHandler.py	Sat Sep 28 19:06:25 2013 +0200
+++ b/Helpviewer/Network/SchemeAccessHandler.py	Sat Sep 28 20:07:36 2013 +0200
@@ -8,6 +8,7 @@
 """
 
 from PyQt4.QtCore import QObject
+from PyQt4.QtNetwork import QNetworkReply
 
 
 class SchemeAccessHandler(QObject):
@@ -26,10 +27,14 @@
         """
         Protected method to create a request.
         
-        @param op the operation to be performed (QNetworkAccessManager.Operation)
+        @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)
         @return reference to the created reply object (QNetworkReply)
+        @exception NotImplementedError raised to indicate that the method must
+            be implemented by a subclass
         """
         raise NotImplementedError()
+        return QNetworkReply()

eric ide

mercurial