68 @param projectType project type of the API |
68 @param projectType project type of the API |
69 @type str |
69 @type str |
70 @return key to be used |
70 @return key to be used |
71 @rtype str |
71 @rtype str |
72 """ |
72 """ |
73 if projectType: |
73 key = (language, projectType) if projectType else (language, "") |
74 key = (language, projectType) |
|
75 else: |
|
76 key = (language, "") |
|
77 return key |
74 return key |
78 |
75 |
79 def save(self): |
76 def save(self): |
80 """ |
77 """ |
81 Public slot to save the Editor APIs configuration. |
78 Public slot to save the Editor APIs configuration. |