Helpviewer/HelpClearPrivateDataDialog.py

changeset 2999
28c75409a78f
parent 2302
f29e9405c851
child 3057
10516539f238
child 3160
209a07d7e401
equal deleted inserted replaced
2998:95581102e03e 2999:28c75409a78f
27 27
28 def getData(self): 28 def getData(self):
29 """ 29 """
30 Public method to get the data from the dialog. 30 Public method to get the data from the dialog.
31 31
32 @return tuple with flags indicating which data to clear (browsing history, 32 @return tuple with flags indicating which data to clear
33 search history, favicons, disk cache, cookies, passwords, web 33 (browsing history, search history, favicons, disk cache, cookies,
34 databases, downloads, flash) and the selected history period in milliseconds 34 passwords, web databases, downloads, flash) and the selected
35 (tuple of booleans and integer) 35 history period in milliseconds (tuple of booleans and integer)
36 """ 36 """
37 index = self.historyCombo.currentIndex() 37 index = self.historyCombo.currentIndex()
38 if index == 0: 38 if index == 0:
39 # last hour 39 # last hour
40 historyPeriod = 60 * 60 * 1000 40 historyPeriod = 60 * 60 * 1000

eric ide

mercurial