|
Lines 80-85
Link Here
|
| 80 |
" separate window.") ); |
80 |
" separate window.") ); |
| 81 |
|
81 |
|
| 82 |
|
82 |
|
|
|
83 |
// ---- |
| 84 |
|
| 85 |
cbShowArchivesAsFolders = new TQCheckBox( i18n( "Show archived &files as folders" ), vbox ); |
| 86 |
connect(cbShowArchivesAsFolders, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed())); |
| 87 |
|
| 88 |
TQWhatsThis::add( cbShowArchivesAsFolders, i18n("Checking this option will list archived" |
| 89 |
" files as folders when using tree view.") ); |
| 90 |
|
| 91 |
|
| 83 |
// -- |
92 |
// -- |
| 84 |
|
93 |
|
| 85 |
cbShowTips = new TQCheckBox( i18n( "Show file &tips" ), vbox ); |
94 |
cbShowTips = new TQCheckBox( i18n( "Show file &tips" ), vbox ); |
|
Lines 202-208
Link Here
|
| 202 |
cbShowPreviewsInTips->setChecked( showPreviewsIntips ); |
211 |
cbShowPreviewsInTips->setChecked( showPreviewsIntips ); |
| 203 |
|
212 |
|
| 204 |
cbRenameDirectlyIcon->setChecked( g_pConfig->readBoolEntry("RenameIconDirectly", DEFAULT_RENAMEICONDIRECTLY ) ); |
213 |
cbRenameDirectlyIcon->setChecked( g_pConfig->readBoolEntry("RenameIconDirectly", DEFAULT_RENAMEICONDIRECTLY ) ); |
| 205 |
|
214 |
|
| 206 |
KConfig globalconfig("kdeglobals", true, false); |
215 |
KConfig globalconfig("kdeglobals", true, false); |
| 207 |
globalconfig.setGroup( "KDE" ); |
216 |
globalconfig.setGroup( "KDE" ); |
| 208 |
cbShowDeleteCommand->setChecked( globalconfig.readBoolEntry("ShowDeleteCommand", false) ); |
217 |
cbShowDeleteCommand->setChecked( globalconfig.readBoolEntry("ShowDeleteCommand", false) ); |
|
Lines 221-226
Link Here
|
| 221 |
cbMoveToTrash->setChecked( g_pConfig->readBoolEntry("ConfirmTrash", DEFAULT_CONFIRMTRASH) ); |
230 |
cbMoveToTrash->setChecked( g_pConfig->readBoolEntry("ConfirmTrash", DEFAULT_CONFIRMTRASH) ); |
| 222 |
cbDelete->setChecked( g_pConfig->readBoolEntry("ConfirmDelete", DEFAULT_CONFIRMDELETE) ); |
231 |
cbDelete->setChecked( g_pConfig->readBoolEntry("ConfirmDelete", DEFAULT_CONFIRMDELETE) ); |
| 223 |
|
232 |
|
|
|
233 |
KConfig sidebarconfig("konqsidebartng.rc"); |
| 234 |
sidebarconfig.setGroup( "" ); |
| 235 |
cbshowArchivesAsFolders->setChecked( sidebarconfig.readBoolEntry( "showArchivesAsFolders", false ) ); |
| 236 |
|
| 224 |
emit changed( useDefaults ); |
237 |
emit changed( useDefaults ); |
| 225 |
} |
238 |
} |
| 226 |
|
239 |
|
|
Lines 241-252
Link Here
|
| 241 |
// g_pConfig->writeEntry( "FileTipsItems", sbToolTip->value() ); |
254 |
// g_pConfig->writeEntry( "FileTipsItems", sbToolTip->value() ); |
| 242 |
|
255 |
|
| 243 |
g_pConfig->writeEntry( "RenameIconDirectly", cbRenameDirectlyIcon->isChecked()); |
256 |
g_pConfig->writeEntry( "RenameIconDirectly", cbRenameDirectlyIcon->isChecked()); |
| 244 |
|
257 |
|
|
|
258 |
KConfig sidebarconfig("konqsidebartng.rc"); |
| 259 |
sidebarconfig.setGroup( "" ); |
| 260 |
sidebarconfig.writeEntry( "ShowArchivesAsFolders", cbshowArchivesAsFolders->isChecked() ); |
| 261 |
sidebarconfig.sync(); |
| 262 |
|
| 245 |
KConfig globalconfig("kdeglobals", false, false); |
263 |
KConfig globalconfig("kdeglobals", false, false); |
| 246 |
globalconfig.setGroup( "KDE" ); |
264 |
globalconfig.setGroup( "KDE" ); |
| 247 |
globalconfig.writeEntry( "ShowDeleteCommand", cbShowDeleteCommand->isChecked()); |
265 |
globalconfig.writeEntry( "ShowDeleteCommand", cbShowDeleteCommand->isChecked()); |
| 248 |
globalconfig.sync(); |
266 |
globalconfig.sync(); |
| 249 |
|
267 |
|
| 250 |
g_pConfig->setGroup( "Trash" ); |
268 |
g_pConfig->setGroup( "Trash" ); |
| 251 |
g_pConfig->writeEntry( "ConfirmTrash", cbMoveToTrash->isChecked()); |
269 |
g_pConfig->writeEntry( "ConfirmTrash", cbMoveToTrash->isChecked()); |
| 252 |
g_pConfig->writeEntry( "ConfirmDelete", cbDelete->isChecked()); |
270 |
g_pConfig->writeEntry( "ConfirmDelete", cbDelete->isChecked()); |
|
Lines 257-262
Link Here
|
| 257 |
config.setGroup( "UIServer" ); |
275 |
config.setGroup( "UIServer" ); |
| 258 |
config.writeEntry( "ShowList", cbListProgress->isChecked() ); |
276 |
config.writeEntry( "ShowList", cbListProgress->isChecked() ); |
| 259 |
config.sync(); |
277 |
config.sync(); |
|
|
278 |
|
| 260 |
// Tell the running server |
279 |
// Tell the running server |
| 261 |
if ( kapp->dcopClient()->isApplicationRegistered( "kio_uiserver" ) ) |
280 |
if ( kapp->dcopClient()->isApplicationRegistered( "kio_uiserver" ) ) |
| 262 |
{ |
281 |
{ |