src/eric7/WebBrowser/WebBrowserClearPrivateDataDialog.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
34 """ 34 """
35 Public method to get the data from the dialog. 35 Public method to get the data from the dialog.
36 36
37 @return tuple with flags indicating which data to clear 37 @return tuple with flags indicating which data to clear
38 (browsing history, search history, favicons, disk cache, cookies, 38 (browsing history, search history, favicons, disk cache, cookies,
39 passwords, web databases, downloads, zoom values, SSL 39 passwords, downloads, zoom values, SSL certificate error exceptions) and
40 certificate error exceptions) and the selected history period in 40 the selected history period in milliseconds
41 milliseconds 41 @rtype tuple of (bool, bool, bool, bool, bool, bool, bool, bool, bool, int)
42 @rtype tuple of (bool, bool, bool, bool, bool, bool, bool, bool, bool, bool,
43 int)
44 """ 42 """
45 index = self.historyCombo.currentIndex() 43 index = self.historyCombo.currentIndex()
46 if index == 0: 44 if index == 0:
47 # last hour 45 # last hour
48 historyPeriod = 60 * 60 * 1000 46 historyPeriod = 60 * 60 * 1000
64 self.searchCheckBox.isChecked(), 62 self.searchCheckBox.isChecked(),
65 self.iconsCheckBox.isChecked(), 63 self.iconsCheckBox.isChecked(),
66 self.cacheCheckBox.isChecked(), 64 self.cacheCheckBox.isChecked(),
67 self.cookiesCheckBox.isChecked(), 65 self.cookiesCheckBox.isChecked(),
68 self.passwordsCheckBox.isChecked(), 66 self.passwordsCheckBox.isChecked(),
69 self.databasesCheckBox.isChecked(),
70 self.downloadsCheckBox.isChecked(), 67 self.downloadsCheckBox.isChecked(),
71 self.zoomCheckBox.isChecked(), 68 self.zoomCheckBox.isChecked(),
72 self.sslExceptionsCheckBox.isChecked(), 69 self.sslExceptionsCheckBox.isChecked(),
73 historyPeriod, 70 historyPeriod,
74 ) 71 )

eric ide

mercurial