diff -r e4e2efb4846a -r d6c9d1ca2da4 Helpviewer/WebPlugins/WebPluginInterface.py --- a/Helpviewer/WebPlugins/WebPluginInterface.py Sun Sep 29 14:22:08 2013 +0200 +++ b/Helpviewer/WebPlugins/WebPluginInterface.py Sun Sep 29 15:08:57 2013 +0200 @@ -7,9 +7,6 @@ Module implementing the web plug-in interface. """ -from PyQt4.QtGui import QWidget -from PyQt4.QtWebKit import QWebPluginFactory - class WebPluginInterface(object): """ @@ -19,12 +16,11 @@ """ Public method to create a meta plug-in object containing plug-in info. - @return meta plug-in object (QWebPluginFactory.Plugin) + @ireturn meta plug-in object (QWebPluginFactory.Plugin) @exception NotImplementedError raised to indicate that this method must be implemented by subclasses """ raise NotImplementedError - return QWebPluginFactory.Plugin() def create(self, mimeType, url, argumentNames, argumentValues): """ @@ -34,12 +30,11 @@ @param url URL for the plug-in (QUrl) @param argumentNames list of argument names (list of strings) @param argumentValues list of argument values (list of strings) - @return reference to the created object (QWidget) + @ireturn reference to the created object (QWidget) @exception NotImplementedError raised to indicate that this method must be implemented by subclasses """ raise NotImplementedError - return QWidget() def configure(self): """