-rw-r--r-- | pwmanager/pwmanager/pwm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index 9642a43..d9fbfc9 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp | |||
@@ -264,202 +264,202 @@ void PwM::initMenubar() | |||
264 | SLOT(exportToGpasman()), 0, BUTTON_POPUP_EXPORT_GPASMAN); | 264 | SLOT(exportToGpasman()), 0, BUTTON_POPUP_EXPORT_GPASMAN); |
265 | exportPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this, | 265 | exportPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this, |
266 | SLOT(exportToCsv()), 0, BUTTON_POPUP_EXPORT_CSV); | 266 | SLOT(exportToCsv()), 0, BUTTON_POPUP_EXPORT_CSV); |
267 | #ifdef CONFIG_KWALLETIF | 267 | #ifdef CONFIG_KWALLETIF |
268 | exportPopup->insertItem(i18n("&KWallet..."), this, | 268 | exportPopup->insertItem(i18n("&KWallet..."), this, |
269 | SLOT(exportToKWallet()), 0, BUTTON_POPUP_EXPORT_KWALLET); | 269 | SLOT(exportToKWallet()), 0, BUTTON_POPUP_EXPORT_KWALLET); |
270 | #endif | 270 | #endif |
271 | filePopup->insertItem(QIconSet(picons->loadIcon("fileexport", KIcon::Small)), | 271 | filePopup->insertItem(QIconSet(picons->loadIcon("fileexport", KIcon::Small)), |
272 | i18n("E&xport"), exportPopup, | 272 | i18n("E&xport"), exportPopup, |
273 | BUTTON_POPUP_FILE_EXPORT); | 273 | BUTTON_POPUP_FILE_EXPORT); |
274 | // "file/import" popup menu | 274 | // "file/import" popup menu |
275 | importPopup->insertItem(i18n("&Text-file..."), this, | 275 | importPopup->insertItem(i18n("&Text-file..."), this, |
276 | SLOT(importFromText()), 0, BUTTON_POPUP_IMPORT_TEXT); | 276 | SLOT(importFromText()), 0, BUTTON_POPUP_IMPORT_TEXT); |
277 | importPopup->insertItem(i18n("&Gpasman / Kpasman ..."), this, | 277 | importPopup->insertItem(i18n("&Gpasman / Kpasman ..."), this, |
278 | SLOT(importFromGpasman()), 0, BUTTON_POPUP_IMPORT_GPASMAN); | 278 | SLOT(importFromGpasman()), 0, BUTTON_POPUP_IMPORT_GPASMAN); |
279 | importPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this, | 279 | importPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this, |
280 | SLOT(importCsv()), 0, BUTTON_POPUP_IMPORT_CSV); | 280 | SLOT(importCsv()), 0, BUTTON_POPUP_IMPORT_CSV); |
281 | #ifdef CONFIG_KWALLETIF | 281 | #ifdef CONFIG_KWALLETIF |
282 | importPopup->insertItem(i18n("&KWallet..."), this, | 282 | importPopup->insertItem(i18n("&KWallet..."), this, |
283 | SLOT(importKWallet()), 0, BUTTON_POPUP_IMPORT_KWALLET); | 283 | SLOT(importKWallet()), 0, BUTTON_POPUP_IMPORT_KWALLET); |
284 | #endif | 284 | #endif |
285 | filePopup->insertItem(QIconSet(picons->loadIcon("fileimport", KIcon::Small)), | 285 | filePopup->insertItem(QIconSet(picons->loadIcon("fileimport", KIcon::Small)), |
286 | i18n("I&mport"), importPopup, | 286 | i18n("I&mport"), importPopup, |
287 | BUTTON_POPUP_FILE_IMPORT); | 287 | BUTTON_POPUP_FILE_IMPORT); |
288 | filePopup->insertSeparator(); | 288 | filePopup->insertSeparator(); |
289 | filePopup->insertItem(QIconSet(picons->loadIcon("fileprint", KIcon::Small)), | 289 | filePopup->insertItem(QIconSet(picons->loadIcon("fileprint", KIcon::Small)), |
290 | i18n("&Print..."), this, | 290 | i18n("&Print..."), this, |
291 | SLOT(print_slot()), 0, BUTTON_POPUP_FILE_PRINT); | 291 | SLOT(print_slot()), 0, BUTTON_POPUP_FILE_PRINT); |
292 | filePopup->insertSeparator(); | 292 | filePopup->insertSeparator(); |
293 | filePopup->insertItem(QIconSet(picons->loadIcon("exit", KIcon::Small)), | 293 | filePopup->insertItem(QIconSet(picons->loadIcon("exit", KIcon::Small)), |
294 | i18n("&Quit"), this, | 294 | i18n("&Quit"), this, |
295 | SLOT(quitButton_slot()), 0, BUTTON_POPUP_FILE_QUIT); | 295 | SLOT(quitButton_slot()), 0, BUTTON_POPUP_FILE_QUIT); |
296 | menuBar()->insertItem(i18n("&File"), filePopup); | 296 | menuBar()->insertItem(i18n("&File"), filePopup); |
297 | // "manage" popup menu | 297 | // "manage" popup menu |
298 | managePopup->insertItem(QIconSet(picons->loadIcon("pencil", KIcon::Small)), | 298 | managePopup->insertItem(QIconSet(picons->loadIcon("pencil", KIcon::Small)), |
299 | i18n("&Add password"), this, | 299 | i18n("&Add password"), this, |
300 | SLOT(addPwd_slot()), 0, | 300 | SLOT(addPwd_slot()), 0, |
301 | BUTTON_POPUP_MANAGE_ADD); | 301 | BUTTON_POPUP_MANAGE_ADD); |
302 | managePopup->insertItem(QIconSet(picons->loadIcon("edit", KIcon::Small)), | 302 | managePopup->insertItem(QIconSet(picons->loadIcon("edit", KIcon::Small)), |
303 | i18n("&Edit"), this, SLOT(editPwd_slot()), 0, | 303 | i18n("&Edit"), this, SLOT(editPwd_slot()), 0, |
304 | BUTTON_POPUP_MANAGE_EDIT); | 304 | BUTTON_POPUP_MANAGE_EDIT); |
305 | managePopup->insertItem(QIconSet(picons->loadIcon("editdelete", KIcon::Small)), | 305 | managePopup->insertItem(QIconSet(picons->loadIcon("editdelete", KIcon::Small)), |
306 | i18n("&Delete"), this, SLOT(deletePwd_slot()), | 306 | i18n("&Delete"), this, SLOT(deletePwd_slot()), |
307 | 0, BUTTON_POPUP_MANAGE_DEL); | 307 | 0, BUTTON_POPUP_MANAGE_DEL); |
308 | managePopup->insertSeparator(); | 308 | managePopup->insertSeparator(); |
309 | managePopup->insertItem(QIconSet(picons->loadIcon("rotate", KIcon::Small)), | 309 | managePopup->insertItem(QIconSet(picons->loadIcon("rotate", KIcon::Small)), |
310 | i18n("Change &Master Password"), this, | 310 | i18n("Change &Master Password"), this, |
311 | SLOT(changeMasterPwd_slot()), 0, | 311 | SLOT(changeMasterPwd_slot()), 0, |
312 | BUTTON_POPUP_MANAGE_CHANGEMP); | 312 | BUTTON_POPUP_MANAGE_CHANGEMP); |
313 | menuBar()->insertItem(i18n("&Manage"), managePopup); | 313 | menuBar()->insertItem(i18n("&Manage"), managePopup); |
314 | // "chipcard" popup menu | 314 | // "chipcard" popup menu |
315 | #ifdef CONFIG_KEYCARD | 315 | #ifdef CONFIG_KEYCARD |
316 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)), | 316 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)), |
317 | i18n("&Generate new key-card"), this, | 317 | i18n("&Generate new key-card"), this, |
318 | SLOT(genNewCard_slot()), 0, | 318 | SLOT(genNewCard_slot()), 0, |
319 | BUTTON_POPUP_CHIPCARD_GENNEW); | 319 | BUTTON_POPUP_CHIPCARD_GENNEW); |
320 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("editdelete", KIcon::Small)), | 320 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("editdelete", KIcon::Small)), |
321 | i18n("&Erase key-card"), this, | 321 | i18n("&Erase key-card"), this, |
322 | SLOT(eraseCard_slot()), 0, | 322 | SLOT(eraseCard_slot()), 0, |
323 | BUTTON_POPUP_CHIPCARD_DEL); | 323 | BUTTON_POPUP_CHIPCARD_DEL); |
324 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("", KIcon::Small)), | 324 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("", KIcon::Small)), |
325 | i18n("Read card-&ID"), this, | 325 | i18n("Read card-&ID"), this, |
326 | SLOT(readCardId_slot()), 0, | 326 | SLOT(readCardId_slot()), 0, |
327 | BUTTON_POPUP_CHIPCARD_READID); | 327 | BUTTON_POPUP_CHIPCARD_READID); |
328 | chipcardPopup->insertSeparator(); | 328 | chipcardPopup->insertSeparator(); |
329 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("2rightarrow", KIcon::Small)), | 329 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("2rightarrow", KIcon::Small)), |
330 | i18n("&Make card backup-image"), this, | 330 | i18n("&Make card backup-image"), this, |
331 | SLOT(makeCardBackup_slot()), 0, | 331 | SLOT(makeCardBackup_slot()), 0, |
332 | BUTTON_POPUP_CHIPCARD_SAVEBACKUP); | 332 | BUTTON_POPUP_CHIPCARD_SAVEBACKUP); |
333 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("2leftarrow", KIcon::Small)), | 333 | chipcardPopup->insertItem(QIconSet(picons->loadIcon("2leftarrow", KIcon::Small)), |
334 | i18n("&Replay card backup-image"), this, | 334 | i18n("&Replay card backup-image"), this, |
335 | SLOT(replayCardBackup_slot()), 0, | 335 | SLOT(replayCardBackup_slot()), 0, |
336 | BUTTON_POPUP_CHIPCARD_REPLAYBACKUP); | 336 | BUTTON_POPUP_CHIPCARD_REPLAYBACKUP); |
337 | menuBar()->insertItem(i18n("&Chipcard manager"), chipcardPopup); | 337 | menuBar()->insertItem(i18n("&Chipcard manager"), chipcardPopup); |
338 | #endif // CONFIG_KEYCARD | 338 | #endif // CONFIG_KEYCARD |
339 | // "view" popup menu | 339 | // "view" popup menu |
340 | viewPopup->insertItem(QIconSet(picons->loadIcon("find", KIcon::Small)), | 340 | viewPopup->insertItem(QIconSet(picons->loadIcon("find", KIcon::Small)), |
341 | i18n("&Find"), this, | 341 | i18n("&Find"), this, |
342 | SLOT(find_slot()), 0, BUTTON_POPUP_VIEW_FIND); | 342 | SLOT(find_slot()), 0, BUTTON_POPUP_VIEW_FIND); |
343 | viewPopup->insertSeparator(); | 343 | viewPopup->insertSeparator(); |
344 | viewPopup->insertItem(QIconSet(picons->loadIcon("halfencrypted", KIcon::Small)), | 344 | viewPopup->insertItem(QIconSet(picons->loadIcon("halfencrypted", KIcon::Small)), |
345 | i18n("&Lock all entries"), this, | 345 | i18n("&Lock all entries"), this, |
346 | SLOT(lockWnd_slot()), 0, | 346 | SLOT(lockWnd_slot()), 0, |
347 | BUTTON_POPUP_VIEW_LOCK); | 347 | BUTTON_POPUP_VIEW_LOCK); |
348 | viewPopup->insertItem(QIconSet(picons->loadIcon("encrypted", KIcon::Small)), | 348 | viewPopup->insertItem(QIconSet(picons->loadIcon("encrypted", KIcon::Small)), |
349 | i18n("&Deep-lock all entries"), this, | 349 | i18n("&Deep-lock all entries"), this, |
350 | SLOT(deepLockWnd_slot()), 0, | 350 | SLOT(deepLockWnd_slot()), 0, |
351 | BUTTON_POPUP_VIEW_DEEPLOCK); | 351 | BUTTON_POPUP_VIEW_DEEPLOCK); |
352 | viewPopup->insertItem(QIconSet(picons->loadIcon("decrypted", KIcon::Small)), | 352 | viewPopup->insertItem(QIconSet(picons->loadIcon("decrypted", KIcon::Small)), |
353 | i18n("&Unlock all entries"), this, | 353 | i18n("&Unlock all entries"), this, |
354 | SLOT(unlockWnd_slot()), 0, | 354 | SLOT(unlockWnd_slot()), 0, |
355 | BUTTON_POPUP_VIEW_UNLOCK); | 355 | BUTTON_POPUP_VIEW_UNLOCK); |
356 | menuBar()->insertItem(i18n("&View"), viewPopup); | 356 | menuBar()->insertItem(i18n("&View"), viewPopup); |
357 | // "options" popup menu | 357 | // "options" popup menu |
358 | optionsPopup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)), | 358 | optionsPopup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)), |
359 | i18n("&Configure..."), this, | 359 | i18n("&Configure..."), this, |
360 | SLOT(config_slot()), | 360 | SLOT(config_slot()),0, |
361 | BUTTON_POPUP_OPTIONS_CONFIG); | 361 | BUTTON_POPUP_OPTIONS_CONFIG); |
362 | menuBar()->insertItem(i18n("&Options"), optionsPopup); | 362 | menuBar()->insertItem(i18n("&Options"), optionsPopup); |
363 | // "help" popup menu | 363 | // "help" popup menu |
364 | #ifndef PWM_EMBEDDED | 364 | #ifndef PWM_EMBEDDED |
365 | helpPopup = helpMenu(QString::null, false); | 365 | helpPopup = helpMenu(QString::null, false); |
366 | #else | 366 | #else |
367 | optionsPopup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)), | 367 | optionsPopup->insertItem(QIconSet(picons->loadIcon("configure", KIcon::Small)), |
368 | i18n("C&ategories..."), this, | 368 | i18n("C&ategories..."), this, |
369 | SLOT(category_slot()), | 369 | SLOT(category_slot()),0, |
370 | BUTTON_POPUP_OPTIONS_CATEGORY); | 370 | BUTTON_POPUP_OPTIONS_CATEGORY); |
371 | 371 | ||
372 | 372 | ||
373 | menuBar()->insertItem(i18n("&Sync"), syncPopup); | 373 | menuBar()->insertItem(i18n("&Sync"), syncPopup); |
374 | 374 | ||
375 | 375 | ||
376 | 376 | ||
377 | 377 | ||
378 | 378 | ||
379 | helpPopup = new KPopupMenu(this); | 379 | helpPopup = new KPopupMenu(this); |
380 | 380 | ||
381 | 381 | ||
382 | helpPopup->insertItem(i18n("&License"), this, | 382 | helpPopup->insertItem(i18n("&License"), this, |
383 | SLOT(showLicense_slot()), 0, | 383 | SLOT(showLicense_slot()), 0, |
384 | BUTTON_POPUP_HELP_LICENSE); | 384 | BUTTON_POPUP_HELP_LICENSE); |
385 | 385 | ||
386 | helpPopup->insertItem(i18n("&Faq"), this, | 386 | helpPopup->insertItem(i18n("&Faq"), this, |
387 | SLOT(faq_slot()), 0, | 387 | SLOT(faq_slot()), 0, |
388 | BUTTON_POPUP_HELP_FAQ); | 388 | BUTTON_POPUP_HELP_FAQ); |
389 | 389 | ||
390 | helpPopup->insertItem(i18n("&About PwManager"), this, | 390 | helpPopup->insertItem(i18n("&About PwManager"), this, |
391 | SLOT(createAboutData_slot()), 0, | 391 | SLOT(createAboutData_slot()), 0, |
392 | BUTTON_POPUP_HELP_ABOUT); | 392 | BUTTON_POPUP_HELP_ABOUT); |
393 | 393 | ||
394 | helpPopup->insertItem(i18n("&Sync HowTo"), this, | 394 | helpPopup->insertItem(i18n("&Sync HowTo"), this, |
395 | SLOT(syncHowTo_slot()), 0, | 395 | SLOT(syncHowTo_slot()), 0, |
396 | BUTTON_POPUP_HELP_SYNC); | 396 | BUTTON_POPUP_HELP_SYNC); |
397 | 397 | ||
398 | helpPopup->insertItem(i18n("&What's New"), this, | 398 | helpPopup->insertItem(i18n("&What's New"), this, |
399 | SLOT(whatsnew_slot()), 0, | 399 | SLOT(whatsnew_slot()), 0, |
400 | BUTTON_POPUP_HELP_WHATSNEW); | 400 | BUTTON_POPUP_HELP_WHATSNEW); |
401 | 401 | ||
402 | #endif | 402 | #endif |
403 | menuBar()->insertItem(i18n("&Help"), helpPopup); | 403 | menuBar()->insertItem(i18n("&Help"), helpPopup); |
404 | 404 | ||
405 | } | 405 | } |
406 | 406 | ||
407 | void PwM::initToolbar() | 407 | void PwM::initToolbar() |
408 | { | 408 | { |
409 | KIconLoader* picons; | 409 | KIconLoader* picons; |
410 | #ifndef PWM_EMBEDDED | 410 | #ifndef PWM_EMBEDDED |
411 | KIconLoader icons; | 411 | KIconLoader icons; |
412 | picons = &icons; | 412 | picons = &icons; |
413 | #else | 413 | #else |
414 | picons = KGlobal::iconLoader(); | 414 | picons = KGlobal::iconLoader(); |
415 | #endif | 415 | #endif |
416 | 416 | ||
417 | #ifdef PWM_EMBEDDED | 417 | #ifdef PWM_EMBEDDED |
418 | if ( QApplication::desktop()->width() > 320 ) | 418 | if ( QApplication::desktop()->width() > 320 ) |
419 | #endif | 419 | #endif |
420 | { | 420 | { |
421 | toolBar()->insertButton(picons->loadIcon("filenew", KIcon::Toolbar), | 421 | toolBar()->insertButton(picons->loadIcon("filenew", KIcon::Toolbar), |
422 | BUTTON_TOOL_NEW, SIGNAL(clicked(int)), this, | 422 | BUTTON_TOOL_NEW, SIGNAL(clicked(int)), this, |
423 | SLOT(new_slot()), true, i18n("New")); | 423 | SLOT(new_slot()), true, i18n("New")); |
424 | toolBar()->insertButton(picons->loadIcon("fileopen", KIcon::Toolbar), | 424 | toolBar()->insertButton(picons->loadIcon("fileopen", KIcon::Toolbar), |
425 | BUTTON_TOOL_OPEN, SIGNAL(clicked(int)), this, | 425 | BUTTON_TOOL_OPEN, SIGNAL(clicked(int)), this, |
426 | SLOT(open_slot()), true, i18n("Open")); | 426 | SLOT(open_slot()), true, i18n("Open")); |
427 | toolBar()->insertSeparator(); | 427 | toolBar()->insertSeparator(); |
428 | } | 428 | } |
429 | toolBar()->insertButton(picons->loadIcon("filesave", KIcon::Toolbar), | 429 | toolBar()->insertButton(picons->loadIcon("filesave", KIcon::Toolbar), |
430 | BUTTON_TOOL_SAVE, SIGNAL(clicked(int)), this, | 430 | BUTTON_TOOL_SAVE, SIGNAL(clicked(int)), this, |
431 | SLOT(save_slot()), true, i18n("Save")); | 431 | SLOT(save_slot()), true, i18n("Save")); |
432 | toolBar()->insertButton(picons->loadIcon("filesaveas", KIcon::Toolbar), | 432 | toolBar()->insertButton(picons->loadIcon("filesaveas", KIcon::Toolbar), |
433 | BUTTON_TOOL_SAVEAS, SIGNAL(clicked(int)), this, | 433 | BUTTON_TOOL_SAVEAS, SIGNAL(clicked(int)), this, |
434 | SLOT(saveAs_slot()), true, i18n("Save as")); | 434 | SLOT(saveAs_slot()), true, i18n("Save as")); |
435 | toolBar()->insertButton(picons->loadIcon("fileprint", KIcon::Toolbar), | 435 | toolBar()->insertButton(picons->loadIcon("fileprint", KIcon::Toolbar), |
436 | BUTTON_TOOL_PRINT, SIGNAL(clicked(int)), this, | 436 | BUTTON_TOOL_PRINT, SIGNAL(clicked(int)), this, |
437 | SLOT(print_slot()), true, i18n("Print...")); | 437 | SLOT(print_slot()), true, i18n("Print...")); |
438 | toolBar()->insertSeparator(); | 438 | toolBar()->insertSeparator(); |
439 | toolBar()->insertButton(picons->loadIcon("pencil", KIcon::Toolbar), | 439 | toolBar()->insertButton(picons->loadIcon("pencil", KIcon::Toolbar), |
440 | BUTTON_TOOL_ADD, SIGNAL(clicked(int)), this, | 440 | BUTTON_TOOL_ADD, SIGNAL(clicked(int)), this, |
441 | SLOT(addPwd_slot()), true, | 441 | SLOT(addPwd_slot()), true, |
442 | i18n("Add password")); | 442 | i18n("Add password")); |
443 | toolBar()->insertButton(picons->loadIcon("edit", KIcon::Toolbar), | 443 | toolBar()->insertButton(picons->loadIcon("edit", KIcon::Toolbar), |
444 | BUTTON_TOOL_EDIT, SIGNAL(clicked(int)), this, | 444 | BUTTON_TOOL_EDIT, SIGNAL(clicked(int)), this, |
445 | SLOT(editPwd_slot()), true, | 445 | SLOT(editPwd_slot()), true, |
446 | i18n("Edit password")); | 446 | i18n("Edit password")); |
447 | toolBar()->insertButton(picons->loadIcon("editdelete", KIcon::Toolbar), | 447 | toolBar()->insertButton(picons->loadIcon("editdelete", KIcon::Toolbar), |
448 | BUTTON_TOOL_DEL, SIGNAL(clicked(int)), this, | 448 | BUTTON_TOOL_DEL, SIGNAL(clicked(int)), this, |
449 | SLOT(deletePwd_slot()), true, | 449 | SLOT(deletePwd_slot()), true, |
450 | i18n("Delete password")); | 450 | i18n("Delete password")); |
451 | toolBar()->insertSeparator(); | 451 | toolBar()->insertSeparator(); |
452 | toolBar()->insertButton(picons->loadIcon("find", KIcon::Toolbar), | 452 | toolBar()->insertButton(picons->loadIcon("find", KIcon::Toolbar), |
453 | BUTTON_TOOL_FIND, SIGNAL(clicked(int)), this, | 453 | BUTTON_TOOL_FIND, SIGNAL(clicked(int)), this, |
454 | SLOT(find_slot()), true, i18n("Find entry")); | 454 | SLOT(find_slot()), true, i18n("Find entry")); |
455 | toolBar()->insertSeparator(); | 455 | toolBar()->insertSeparator(); |
456 | toolBar()->insertButton(picons->loadIcon("halfencrypted", KIcon::Toolbar), | 456 | toolBar()->insertButton(picons->loadIcon("halfencrypted", KIcon::Toolbar), |
457 | BUTTON_TOOL_LOCK, SIGNAL(clicked(int)), this, | 457 | BUTTON_TOOL_LOCK, SIGNAL(clicked(int)), this, |
458 | SLOT(lockWnd_slot()), true, | 458 | SLOT(lockWnd_slot()), true, |
459 | i18n("Lock all entries")); | 459 | i18n("Lock all entries")); |
460 | toolBar()->insertButton(picons->loadIcon("encrypted", KIcon::Toolbar), | 460 | toolBar()->insertButton(picons->loadIcon("encrypted", KIcon::Toolbar), |
461 | BUTTON_TOOL_DEEPLOCK, SIGNAL(clicked(int)), this, | 461 | BUTTON_TOOL_DEEPLOCK, SIGNAL(clicked(int)), this, |
462 | SLOT(deepLockWnd_slot()), true, | 462 | SLOT(deepLockWnd_slot()), true, |
463 | i18n("Deep-Lock all entries")); | 463 | i18n("Deep-Lock all entries")); |
464 | toolBar()->insertButton(picons->loadIcon("decrypted", KIcon::Toolbar), | 464 | toolBar()->insertButton(picons->loadIcon("decrypted", KIcon::Toolbar), |
465 | BUTTON_TOOL_UNLOCK, SIGNAL(clicked(int)), this, | 465 | BUTTON_TOOL_UNLOCK, SIGNAL(clicked(int)), this, |