119 Public method to get the list of components. |
119 Public method to get the list of components. |
120 |
120 |
121 @return list of components |
121 @return list of components |
122 @rtype list of str |
122 @rtype list of str |
123 """ |
123 """ |
124 return [k for k in self._componentToNamespace.keys()] |
124 return list(self._componentToNamespace) |
125 |
125 |
126 def versions(self): |
126 def versions(self): |
127 """ |
127 """ |
128 Public method to get the list of versions. |
128 Public method to get the list of versions. |
129 |
129 |
130 @return list of versions |
130 @return list of versions |
131 @rtype list of QVersionNumber |
131 @rtype list of QVersionNumber |
132 """ |
132 """ |
133 return [k for k in self._versionToNamespace.keys()] |
133 return list(self._versionToNamespace) |
134 |
134 |
135 def namespaces(self): |
135 def namespaces(self): |
136 """ |
136 """ |
137 Public method to get the list of namespaces. |
137 Public method to get the list of namespaces. |
138 |
138 |
139 @return list of namespaces |
139 @return list of namespaces |
140 @rtype list of str |
140 @rtype list of str |
141 """ |
141 """ |
142 return [k for k in self._namespaceToFilename.keys()] |
142 return list(self._namespaceToFilename) |
143 |
143 |
144 def namespaceToFilename(self): |
144 def namespaceToFilename(self): |
145 """ |
145 """ |
146 Public method to get the namespace to filename mapping. |
146 Public method to get the namespace to filename mapping. |
147 |
147 |