Helpviewer/WebPlugins/WebPluginInterface.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2538
b2642e7a4c18
parent 2962
d6c9d1ca2da4
child 3145
a9de05d4a22f
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
17 """ 17 """
18 def metaPlugin(self): 18 def metaPlugin(self):
19 """ 19 """
20 Public method to create a meta plug-in object containing plug-in info. 20 Public method to create a meta plug-in object containing plug-in info.
21 21
22 @return meta plug-in object (QWebPluginFactory.Plugin) 22 @ireturn meta plug-in object (QWebPluginFactory.Plugin)
23 @exception NotImplementedError raised to indicate that this method
24 must be implemented by subclasses
23 """ 25 """
24 raise NotImplementedError 26 raise NotImplementedError
25 27
26 def create(self, mimeType, url, argumentNames, argumentValues): 28 def create(self, mimeType, url, argumentNames, argumentValues):
27 """ 29 """
29 31
30 @param mimeType MIME type for the plug-in (string) 32 @param mimeType MIME type for the plug-in (string)
31 @param url URL for the plug-in (QUrl) 33 @param url URL for the plug-in (QUrl)
32 @param argumentNames list of argument names (list of strings) 34 @param argumentNames list of argument names (list of strings)
33 @param argumentValues list of argument values (list of strings) 35 @param argumentValues list of argument values (list of strings)
34 @return reference to the created object (QWidget) 36 @ireturn reference to the created object (QWidget)
37 @exception NotImplementedError raised to indicate that this method
38 must be implemented by subclasses
35 """ 39 """
36 raise NotImplementedError 40 raise NotImplementedError
37 41
38 def configure(self): 42 def configure(self):
39 """ 43 """
40 Public method to configure the plug-in. 44 Public method to configure the plug-in.
45
46 @exception NotImplementedError raised to indicate that this method
47 must be implemented by subclasses
41 """ 48 """
42 raise NotImplementedError 49 raise NotImplementedError
43 50
44 def isAnonymous(self): 51 def isAnonymous(self):
45 """ 52 """
46 Public method to indicate an anonymous plug-in. 53 Public method to indicate an anonymous plug-in.
54
55 @return flag indicating anonymous state (boolean)
47 """ 56 """
48 return False 57 return False

eric ide

mercurial