Helpviewer/HelpClearPrivateDataDialog.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 2999
28c75409a78f
child 3145
a9de05d4a22f
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
29 29
30 def getData(self): 30 def getData(self):
31 """ 31 """
32 Public method to get the data from the dialog. 32 Public method to get the data from the dialog.
33 33
34 @return tuple with flags indicating which data to clear (browsing history, 34 @return tuple with flags indicating which data to clear
35 search history, favicons, disk cache, cookies, passwords, web 35 (browsing history, search history, favicons, disk cache, cookies,
36 databases, downloads, flash) and the selected history period in milliseconds 36 passwords, web databases, downloads, flash) and the selected
37 (tuple of booleans and integer) 37 history period in milliseconds (tuple of booleans and integer)
38 """ 38 """
39 index = self.historyCombo.currentIndex() 39 index = self.historyCombo.currentIndex()
40 if index == 0: 40 if index == 0:
41 # last hour 41 # last hour
42 historyPeriod = 60 * 60 * 1000 42 historyPeriod = 60 * 60 * 1000

eric ide

mercurial