QScintilla/Exporters/ExporterBase.py

changeset 2965
d133c7edd88a
parent 2302
f29e9405c851
child 3020
542e97d4ecb3
child 3057
10516539f238
equal deleted inserted replaced
2964:84b65fb9e780 2965:d133c7edd88a
33 """ 33 """
34 Protected method to get the file name of the export file from the user. 34 Protected method to get the file name of the export file from the user.
35 35
36 @param filter the filter string to be used (string). The filter for 36 @param filter the filter string to be used (string). The filter for
37 "All Files (*)" is appended by this method. 37 "All Files (*)" is appended by this method.
38 @return file name entered by the user (string)
38 """ 39 """
39 filter_ = filter 40 filter_ = filter
40 filter_ += ";;" 41 filter_ += ";;"
41 filter_ += QApplication.translate('Exporter', "All Files (*)") 42 filter_ += QApplication.translate('Exporter', "All Files (*)")
42 fn, selectedFilter = E5FileDialog.getSaveFileNameAndFilter( 43 fn, selectedFilter = E5FileDialog.getSaveFileNameAndFilter(
69 def exportSource(self): 70 def exportSource(self):
70 """ 71 """
71 Public method performing the export. 72 Public method performing the export.
72 73
73 This method must be overridden by the real exporters. 74 This method must be overridden by the real exporters.
75
76 @exception NotImplementedError raised to indicate that this method
77 must be implemented by a subclass
74 """ 78 """
75 raise NotImplementedError 79 raise NotImplementedError

eric ide

mercurial