36 """ |
36 """ |
37 Public method to get the data from the dialog. |
37 Public method to get the data from the dialog. |
38 |
38 |
39 @return tuple with flags indicating which data to clear |
39 @return tuple with flags indicating which data to clear |
40 (browsing history, search history, favicons, disk cache, cookies, |
40 (browsing history, search history, favicons, disk cache, cookies, |
41 passwords, web databases, downloads, flash, zoom values) and the |
41 passwords, web databases, downloads, flash, zoom values, SSL |
42 selected history period in milliseconds (tuple of booleans and |
42 certificate error exceptions) and the selected history period in |
43 integer) |
43 milliseconds (tuple of booleans and integer) |
44 """ |
44 """ |
45 index = self.historyCombo.currentIndex() |
45 index = self.historyCombo.currentIndex() |
46 if index == 0: |
46 if index == 0: |
47 # last hour |
47 # last hour |
48 historyPeriod = 60 * 60 * 1000 |
48 historyPeriod = 60 * 60 * 1000 |
67 self.passwordsCheckBox.isChecked(), |
67 self.passwordsCheckBox.isChecked(), |
68 self.databasesCheckBox.isChecked(), |
68 self.databasesCheckBox.isChecked(), |
69 self.downloadsCheckBox.isChecked(), |
69 self.downloadsCheckBox.isChecked(), |
70 self.flashCookiesCheckBox.isChecked(), |
70 self.flashCookiesCheckBox.isChecked(), |
71 self.zoomCheckBox.isChecked(), |
71 self.zoomCheckBox.isChecked(), |
|
72 self.sslExceptionsCheckBox.isChecked(), |
72 historyPeriod) |
73 historyPeriod) |