|
Lines 97-103
Link Here
|
| 97 |
clearSavedClipboardContents = new TQCheckListItem(generalCLI, |
97 |
clearSavedClipboardContents = new TQCheckListItem(generalCLI, |
| 98 |
i18n("Saved Clipboard Contents"),TQCheckListItem::CheckBox); |
98 |
i18n("Saved Clipboard Contents"),TQCheckListItem::CheckBox); |
| 99 |
clearWebHistory = new TQCheckListItem(webbrowsingCLI, |
99 |
clearWebHistory = new TQCheckListItem(webbrowsingCLI, |
| 100 |
i18n("Web History"),TQCheckListItem::CheckBox); |
100 |
i18n("Web and File Manager History"),TQCheckListItem::CheckBox); |
| 101 |
clearWebCache = new TQCheckListItem(webbrowsingCLI, |
101 |
clearWebCache = new TQCheckListItem(webbrowsingCLI, |
| 102 |
i18n("Web Cache"),TQCheckListItem::CheckBox); |
102 |
i18n("Web Cache"),TQCheckListItem::CheckBox); |
| 103 |
clearFormCompletion = new TQCheckListItem(webbrowsingCLI, |
103 |
clearFormCompletion = new TQCheckListItem(webbrowsingCLI, |
|
Lines 108-113
Link Here
|
| 108 |
i18n("Quick Start Menu"),TQCheckListItem::CheckBox); |
108 |
i18n("Quick Start Menu"),TQCheckListItem::CheckBox); |
| 109 |
clearFavIcons = new TQCheckListItem(webbrowsingCLI, |
109 |
clearFavIcons = new TQCheckListItem(webbrowsingCLI, |
| 110 |
i18n("Favorite Icons"),TQCheckListItem::CheckBox); |
110 |
i18n("Favorite Icons"),TQCheckListItem::CheckBox); |
|
|
111 |
clearKPDFDocData = new TQCheckListItem(generalCLI, |
| 112 |
i18n("KPDF Document Data"),TQCheckListItem::CheckBox); |
| 111 |
|
113 |
|
| 112 |
TQWhatsThis::add(sw, i18n("Check all cleanup actions you would like to perform. These will be executed by pressing the button below")); |
114 |
TQWhatsThis::add(sw, i18n("Check all cleanup actions you would like to perform. These will be executed by pressing the button below")); |
| 113 |
TQWhatsThis::add(cleaningDialog->cleanupButton, i18n("Immediately performs the cleanup actions selected above")); |
115 |
TQWhatsThis::add(cleaningDialog->cleanupButton, i18n("Immediately performs the cleanup actions selected above")); |
|
Lines 115-127
Link Here
|
| 115 |
clearThumbnails->setText(1, i18n("Clears all cached thumbnails")); |
117 |
clearThumbnails->setText(1, i18n("Clears all cached thumbnails")); |
| 116 |
clearRunCommandHistory->setText(1, i18n("Clears the history of commands run through the Run Command tool on the desktop")); |
118 |
clearRunCommandHistory->setText(1, i18n("Clears the history of commands run through the Run Command tool on the desktop")); |
| 117 |
clearAllCookies->setText(1, i18n("Clears all stored cookies set by websites")); |
119 |
clearAllCookies->setText(1, i18n("Clears all stored cookies set by websites")); |
| 118 |
clearWebHistory->setText(1, i18n("Clears the history of visited websites")); |
120 |
clearWebHistory->setText(1, i18n("Clears the history of visited websites and file manager URLs")); |
| 119 |
clearSavedClipboardContents->setText(1, i18n("Clears the clipboard contents stored by Klipper")); |
121 |
clearSavedClipboardContents->setText(1, i18n("Clears the clipboard contents stored by Klipper")); |
| 120 |
clearWebCache->setText(1, i18n("Clears the temporary cache of websites visited")); |
122 |
clearWebCache->setText(1, i18n("Clears the temporary cache of websites visited")); |
| 121 |
clearFormCompletion->setText(1, i18n("Clears values which were entered into forms on websites")); |
123 |
clearFormCompletion->setText(1, i18n("Clears values which were entered into forms on websites")); |
| 122 |
clearRecentDocuments->setText(1, i18n("Clears the list of recently used documents from the TDE applications menu")); |
124 |
clearRecentDocuments->setText(1, i18n("Clears the list of recently used documents from the TDE applications menu")); |
| 123 |
clearQuickStartMenu->setText(1, i18n("Clears the entries from the list of recently started applications")); |
125 |
clearQuickStartMenu->setText(1, i18n("Clears the entries from the list of recently started applications")); |
| 124 |
clearFavIcons->setText(1, i18n("Clears the FavIcons cached from visited websites")); |
126 |
clearFavIcons->setText(1, i18n("Clears the FavIcons cached from visited websites")); |
|
|
127 |
clearKPDFDocData->setText(1, i18n("Clears all KPDF document data files")); |
| 125 |
|
128 |
|
| 126 |
connect(sw, TQT_SIGNAL(selectionChanged()), TQT_SLOT(changed())); |
129 |
connect(sw, TQT_SIGNAL(selectionChanged()), TQT_SLOT(changed())); |
| 127 |
|
130 |
|
|
Lines 136-141
Link Here
|
| 136 |
checklist.append(clearRecentDocuments); |
139 |
checklist.append(clearRecentDocuments); |
| 137 |
checklist.append(clearQuickStartMenu); |
140 |
checklist.append(clearQuickStartMenu); |
| 138 |
checklist.append(clearFavIcons); |
141 |
checklist.append(clearFavIcons); |
|
|
142 |
checklist.append(clearKPDFDocData); |
| 139 |
|
143 |
|
| 140 |
connect(cleaningDialog->cleanupButton, TQT_SIGNAL(clicked()), TQT_SLOT(cleanup())); |
144 |
connect(cleaningDialog->cleanupButton, TQT_SIGNAL(clicked()), TQT_SLOT(cleanup())); |
| 141 |
connect(cleaningDialog->selectAllButton, TQT_SIGNAL(clicked()), TQT_SLOT(selectAll())); |
145 |
connect(cleaningDialog->selectAllButton, TQT_SIGNAL(clicked()), TQT_SLOT(selectAll())); |
|
Lines 175-180
Link Here
|
| 175 |
clearRecentDocuments->setOn(c->readBoolEntry("ClearRecentDocuments", true)); |
179 |
clearRecentDocuments->setOn(c->readBoolEntry("ClearRecentDocuments", true)); |
| 176 |
clearQuickStartMenu->setOn(c->readBoolEntry("ClearQuickStartMenu", true)); |
180 |
clearQuickStartMenu->setOn(c->readBoolEntry("ClearQuickStartMenu", true)); |
| 177 |
clearFavIcons->setOn(c->readBoolEntry("ClearFavIcons", true)); |
181 |
clearFavIcons->setOn(c->readBoolEntry("ClearFavIcons", true)); |
|
|
182 |
clearKPDFDocData->setOn(c->readBoolEntry("ClearKPDFDocData", true)); |
| 178 |
} |
183 |
} |
| 179 |
|
184 |
|
| 180 |
{ |
185 |
{ |
|
Lines 210-215
Link Here
|
| 210 |
c->writeEntry("ClearRecentDocuments", clearRecentDocuments->isOn()); |
215 |
c->writeEntry("ClearRecentDocuments", clearRecentDocuments->isOn()); |
| 211 |
c->writeEntry("ClearQuickStartMenu", clearQuickStartMenu->isOn()); |
216 |
c->writeEntry("ClearQuickStartMenu", clearQuickStartMenu->isOn()); |
| 212 |
c->writeEntry("ClearFavIcons", clearFavIcons->isOn()); |
217 |
c->writeEntry("ClearFavIcons", clearFavIcons->isOn()); |
|
|
218 |
c->writeEntry("ClearKPDFDocData", clearKPDFDocData->isOn()); |
| 213 |
} |
219 |
} |
| 214 |
|
220 |
|
| 215 |
{ |
221 |
{ |
|
Lines 293-298
Link Here
|
| 293 |
if(item == clearFavIcons) |
299 |
if(item == clearFavIcons) |
| 294 |
error = m_privacymanager->clearFavIcons(); |
300 |
error = m_privacymanager->clearFavIcons(); |
| 295 |
|
301 |
|
|
|
302 |
if(item == clearKPDFDocData) |
| 303 |
error = m_privacymanager->clearKPDFDocData(); |
| 304 |
|
| 296 |
if(error) |
305 |
if(error) |
| 297 |
{ |
306 |
{ |
| 298 |
TQString errorText = i18n("Clearing of %1 failed").arg(item->text()); |
307 |
TQString errorText = i18n("Clearing of %1 failed").arg(item->text()); |