66 |
67 |
67 def __saLoadForm(self, fnames): |
68 def __saLoadForm(self, fnames): |
68 """ |
69 """ |
69 Private method used to handle the "Load Form" command. |
70 Private method used to handle the "Load Form" command. |
70 |
71 |
71 @param fnames filenames of the forms to be loaded (list of strings) |
72 @param fnames filenames of the forms to be loaded |
|
73 @type list of str |
72 """ |
74 """ |
73 for fname in fnames: |
75 for fname in fnames: |
74 self.loadForm.emit(fname) |
76 self.loadForm.emit(fname) |
75 |
77 |
76 def __saLoadTranslation(self, fnames): |
78 def __saLoadTranslation(self, fnames): |
77 """ |
79 """ |
78 Private method used to handle the "Load Translation" command. |
80 Private method used to handle the "Load Translation" command. |
79 |
81 |
80 @param fnames filenames of the translations to be loaded |
82 @param fnames filenames of the translations to be loaded |
81 (list of strings) |
83 @type list of str |
82 """ |
84 """ |
83 first = True |
85 first = True |
84 for fname in fnames: |
86 for fname in fnames: |
85 self.loadTranslation.emit(fname, first) |
87 self.loadTranslation.emit(fname, first) |
86 first = False |
88 first = False |