|
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 214-226
Link Here
|
| 214 |
|
223 |
|
| 215 |
KConfig config("uiserverrc"); |
224 |
KConfig config("uiserverrc"); |
| 216 |
config.setGroup( "UIServer" ); |
225 |
config.setGroup( "UIServer" ); |
| 217 |
|
|
|
| 218 |
cbListProgress->setChecked( config.readBoolEntry( "ShowList", false ) ); |
226 |
cbListProgress->setChecked( config.readBoolEntry( "ShowList", false ) ); |
| 219 |
|
227 |
|
| 220 |
g_pConfig->setGroup( "Trash" ); |
228 |
g_pConfig->setGroup( "Trash" ); |
| 221 |
cbMoveToTrash->setChecked( g_pConfig->readBoolEntry("ConfirmTrash", DEFAULT_CONFIRMTRASH) ); |
229 |
cbMoveToTrash->setChecked( g_pConfig->readBoolEntry("ConfirmTrash", DEFAULT_CONFIRMTRASH) ); |
| 222 |
cbDelete->setChecked( g_pConfig->readBoolEntry("ConfirmDelete", DEFAULT_CONFIRMDELETE) ); |
230 |
cbDelete->setChecked( g_pConfig->readBoolEntry("ConfirmDelete", DEFAULT_CONFIRMDELETE) ); |
| 223 |
|
231 |
|
|
|
232 |
KConfig sidebarconfig("konqsidebartng.rc"); |
| 233 |
sidebarconfig.setGroup( "" ); |
| 234 |
cbShowArchivesAsFolders->setChecked( sidebarconfig.readBoolEntry( "ShowArchivesAsFolders", false ) ); |
| 235 |
|
| 224 |
emit changed( useDefaults ); |
236 |
emit changed( useDefaults ); |
| 225 |
} |
237 |
} |
| 226 |
|
238 |
|
|
Lines 241-252
Link Here
|
| 241 |
// g_pConfig->writeEntry( "FileTipsItems", sbToolTip->value() ); |
253 |
// g_pConfig->writeEntry( "FileTipsItems", sbToolTip->value() ); |
| 242 |
|
254 |
|
| 243 |
g_pConfig->writeEntry( "RenameIconDirectly", cbRenameDirectlyIcon->isChecked()); |
255 |
g_pConfig->writeEntry( "RenameIconDirectly", cbRenameDirectlyIcon->isChecked()); |
| 244 |
|
256 |
|
|
|
257 |
KConfig sidebarconfig("konqsidebartng.rc"); |
| 258 |
sidebarconfig.setGroup( "" ); |
| 259 |
sidebarconfig.writeEntry( "ShowArchivesAsFolders", cbShowArchivesAsFolders->isChecked() ); |
| 260 |
sidebarconfig.sync(); |
| 261 |
|
| 245 |
KConfig globalconfig("kdeglobals", false, false); |
262 |
KConfig globalconfig("kdeglobals", false, false); |
| 246 |
globalconfig.setGroup( "KDE" ); |
263 |
globalconfig.setGroup( "KDE" ); |
| 247 |
globalconfig.writeEntry( "ShowDeleteCommand", cbShowDeleteCommand->isChecked()); |
264 |
globalconfig.writeEntry( "ShowDeleteCommand", cbShowDeleteCommand->isChecked()); |
| 248 |
globalconfig.sync(); |
265 |
globalconfig.sync(); |
| 249 |
|
266 |
|
| 250 |
g_pConfig->setGroup( "Trash" ); |
267 |
g_pConfig->setGroup( "Trash" ); |
| 251 |
g_pConfig->writeEntry( "ConfirmTrash", cbMoveToTrash->isChecked()); |
268 |
g_pConfig->writeEntry( "ConfirmTrash", cbMoveToTrash->isChecked()); |
| 252 |
g_pConfig->writeEntry( "ConfirmDelete", cbDelete->isChecked()); |
269 |
g_pConfig->writeEntry( "ConfirmDelete", cbDelete->isChecked()); |
|
Lines 257-262
Link Here
|
| 257 |
config.setGroup( "UIServer" ); |
274 |
config.setGroup( "UIServer" ); |
| 258 |
config.writeEntry( "ShowList", cbListProgress->isChecked() ); |
275 |
config.writeEntry( "ShowList", cbListProgress->isChecked() ); |
| 259 |
config.sync(); |
276 |
config.sync(); |
|
|
277 |
|
| 260 |
// Tell the running server |
278 |
// Tell the running server |
| 261 |
if ( kapp->dcopClient()->isApplicationRegistered( "kio_uiserver" ) ) |
279 |
if ( kapp->dcopClient()->isApplicationRegistered( "kio_uiserver" ) ) |
| 262 |
{ |
280 |
{ |