src/eric7/EricXML/ShortcutsReader.py

branch
eric7
changeset 10423
299802979277
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
equal deleted inserted replaced
10422:e28b89693f37 10423:299802979277
20 20
21 def __init__(self, device): 21 def __init__(self, device):
22 """ 22 """
23 Constructor 23 Constructor
24 24
25 @param device reference to the I/O device to read from (QIODevice) 25 @param device reference to the I/O device to read from
26 @type QIODevice
26 """ 27 """
27 XMLStreamReaderBase.__init__(self, device) 28 XMLStreamReaderBase.__init__(self, device)
28 29
29 self.version = "" 30 self.version = ""
30 self.shortcuts = {} 31 self.shortcuts = {}
81 82
82 @return Dictionary of dictionaries of shortcuts. The keys of the 83 @return Dictionary of dictionaries of shortcuts. The keys of the
83 dictionary are the categories, the values are dictionaries. 84 dictionary are the categories, the values are dictionaries.
84 These dictionaries have the shortcut name as their key and 85 These dictionaries have the shortcut name as their key and
85 a tuple of accelerators as their value. 86 a tuple of accelerators as their value.
87 @rtype dict
86 """ 88 """
87 return self.shortcuts 89 return self.shortcuts

eric ide

mercurial