250
250
recent = new KRecentFilesAction( i18n("Recent Sandboxes"), this );
251
251
actionCollection()->addAction("file_open_recent", recent);
252
connect(recent, SIGNAL(urlSelected(const KUrl&)), SLOT(openUrl(const KUrl&))),
252
connect(recent, SIGNAL(urlSelected(KUrl)), SLOT(openUrl(KUrl))),
254
254
action = new KAction(i18n("&Insert ChangeLog Entry..."), this);
255
255
actionCollection()->addAction("insert_changelog_entry", action );
256
connect(action, SIGNAL(triggered(bool) ), SLOT( slotChangeLog() ));
256
connect(action, SIGNAL(triggered(bool)), SLOT(slotChangeLog()));
257
257
hint = i18n("Inserts a new intro into the file ChangeLog in the toplevel folder");
258
258
action->setToolTip( hint );
259
259
action->setWhatsThis( hint );
261
261
action = new KAction(KIcon("vcs-update-cvs-cervisia"), i18n("&Update"), this);
262
262
actionCollection()->addAction("file_update", action );
263
connect(action, SIGNAL(triggered(bool) ), SLOT( slotUpdate() ));
263
connect(action, SIGNAL(triggered(bool)), SLOT(slotUpdate()));
264
264
action->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_U));
265
265
hint = i18n("Updates (cvs update) the selected files and folders");
266
266
action->setToolTip( hint );
277
277
action = new KAction(i18n("&Edit"), this);
278
278
actionCollection()->addAction("file_edit", action );
279
connect(action, SIGNAL(triggered(bool) ), SLOT( slotOpen() ));
279
connect(action, SIGNAL(triggered(bool)), SLOT(slotOpen()));
280
280
hint = i18n("Opens the marked file for editing");
281
281
action->setToolTip( hint );
282
282
action->setWhatsThis( hint );
284
284
action = new KAction(i18n("Reso&lve..."), this);
285
285
actionCollection()->addAction("file_resolve", action );
286
connect(action, SIGNAL(triggered(bool) ), SLOT( slotResolve() ));
286
connect(action, SIGNAL(triggered(bool)), SLOT(slotResolve()));
287
287
hint = i18n("Opens the resolve dialog with the selected file");
288
288
action->setToolTip( hint );
289
289
action->setWhatsThis( hint );
291
291
action = new KAction(KIcon("vcs-commit-cvs-cervisia"), i18n("&Commit..."), this);
292
292
actionCollection()->addAction("file_commit", action );
293
connect(action, SIGNAL(triggered(bool) ), SLOT( slotCommit() ));
293
connect(action, SIGNAL(triggered(bool)), SLOT(slotCommit()));
294
294
action->setShortcut(QKeySequence(Qt::Key_NumberSign));
295
295
hint = i18n("Commits the selected files");
296
296
action->setToolTip( hint );
324
324
action = new KAction(i18n("Rever&t"), this);
325
325
actionCollection()->addAction("file_revert_local_changes", action );
326
connect(action, SIGNAL(triggered(bool) ), SLOT( slotRevert() ));
326
connect(action, SIGNAL(triggered(bool)), SLOT(slotRevert()));
327
327
hint = i18n("Reverts (cvs update -C) the selected files (only cvs 1.11)");
328
328
action->setToolTip( hint );
329
329
action->setWhatsThis( hint );
331
331
action = new KAction(i18n("&Properties"), this);
332
332
actionCollection()->addAction("file_properties", action );
333
connect(action, SIGNAL(triggered() ), SLOT( slotFileProperties() ));
333
connect(action, SIGNAL(triggered()), SLOT(slotFileProperties()));
338
338
action = new KAction(KIcon("process-stop"), i18n("Stop"), this);
339
339
actionCollection()->addAction("stop_job", action );
340
connect(action, SIGNAL(triggered(bool) ), protocol, SLOT(cancelJob()));
340
connect(action, SIGNAL(triggered(bool)), protocol, SLOT(cancelJob()));
341
341
action->setShortcut(QKeySequence(Qt::Key_Escape));
342
342
action->setEnabled( false );
343
343
hint = i18n("Stops any running sub-processes");
385
385
action = new KAction(i18n("Last &Change..."), this);
386
386
actionCollection()->addAction("view_last_change", action );
387
connect(action, SIGNAL(triggered(bool) ), SLOT(slotLastChange()));
387
connect(action, SIGNAL(triggered(bool)), SLOT(slotLastChange()));
388
388
hint = i18n("Shows the differences between the last two revisions of the selected file");
389
389
action->setToolTip( hint );
390
390
action->setWhatsThis( hint );
392
392
action = new KAction(i18n("&History..."), this);
393
393
actionCollection()->addAction("view_history", action );
394
connect(action, SIGNAL(triggered(bool) ), SLOT(slotHistory()));
394
connect(action, SIGNAL(triggered(bool)), SLOT(slotHistory()));
395
395
hint = i18n("Shows the CVS history as reported by the server");
396
396
action->setToolTip( hint );
397
397
action->setWhatsThis( hint );
399
399
action = new KAction(i18n("&Unfold File Tree"), this);
400
400
actionCollection()->addAction("view_unfold_tree", action );
401
connect(action, SIGNAL(triggered(bool) ), SLOT(slotUnfoldTree()));
401
connect(action, SIGNAL(triggered(bool)), SLOT(slotUnfoldTree()));
403
403
hint = i18n("Opens all branches of the file tree");
404
404
action->setToolTip( hint );
417
417
action = new KAction(i18n("&Tag/Branch..."), this);
418
418
actionCollection()->addAction("create_tag", action );
419
connect(action, SIGNAL(triggered(bool) ), SLOT(slotCreateTag()));
419
connect(action, SIGNAL(triggered(bool)), SLOT(slotCreateTag()));
420
420
hint = i18n("Creates a tag or branch for the selected files");
421
421
action->setToolTip( hint );
422
422
action->setWhatsThis( hint );
424
424
action = new KAction(i18n("&Delete Tag..."), this);
425
425
actionCollection()->addAction("delete_tag", action );
426
connect(action, SIGNAL(triggered(bool) ), SLOT(slotDeleteTag()));
426
connect(action, SIGNAL(triggered(bool)), SLOT(slotDeleteTag()));
427
427
hint = i18n("Deletes a tag from the selected files");
428
428
action->setToolTip( hint );
429
429
action->setWhatsThis( hint );
431
431
action = new KAction(i18n("&Update to Tag/Date..."), this);
432
432
actionCollection()->addAction("update_to_tag", action );
433
connect(action, SIGNAL(triggered(bool) ), SLOT(slotUpdateToTag()));
433
connect(action, SIGNAL(triggered(bool)), SLOT(slotUpdateToTag()));
434
434
hint = i18n("Updates the selected files to a given tag, branch or date");
435
435
action->setToolTip( hint );
436
436
action->setWhatsThis( hint );
438
438
action = new KAction(i18n("Update to &HEAD"), this);
439
439
actionCollection()->addAction("update_to_head", action );
440
connect(action, SIGNAL(triggered(bool) ), SLOT(slotUpdateToHead()));
440
connect(action, SIGNAL(triggered(bool)), SLOT(slotUpdateToHead()));
441
441
hint = i18n("Updates the selected files to the HEAD revision");
442
442
action->setToolTip( hint );
443
443
action->setWhatsThis( hint );
445
445
action = new KAction(i18n("&Merge..."), this);
446
446
actionCollection()->addAction("merge", action );
447
connect(action, SIGNAL(triggered(bool) ), SLOT(slotMerge()));
447
connect(action, SIGNAL(triggered(bool)), SLOT(slotMerge()));
448
448
hint = i18n("Merges a branch or a set of modifications into the selected files");
449
449
action->setToolTip( hint );
450
450
action->setWhatsThis( hint );
452
452
action = new KAction(i18n("&Add Watch..."), this);
453
453
actionCollection()->addAction("add_watch", action );
454
connect(action, SIGNAL(triggered(bool) ), SLOT(slotAddWatch()));
454
connect(action, SIGNAL(triggered(bool)), SLOT(slotAddWatch()));
455
455
hint = i18n("Adds a watch for the selected files");
456
456
action->setToolTip( hint );
457
457
action->setWhatsThis( hint );
459
459
action = new KAction(i18n("&Remove Watch..."), this);
460
460
actionCollection()->addAction("remove_watch", action );
461
connect(action, SIGNAL(triggered(bool) ), SLOT(slotRemoveWatch()));
461
connect(action, SIGNAL(triggered(bool)), SLOT(slotRemoveWatch()));
462
462
hint = i18n("Removes a watch from the selected files");
463
463
action->setToolTip( hint );
464
464
action->setWhatsThis( hint );
466
466
action = new KAction(i18n("Show &Watchers"), this);
467
467
actionCollection()->addAction("show_watchers", action );
468
connect(action, SIGNAL(triggered(bool) ), SLOT(slotShowWatchers()));
468
connect(action, SIGNAL(triggered(bool)), SLOT(slotShowWatchers()));
469
469
hint = i18n("Shows the watchers of the selected files");
470
470
action->setToolTip( hint );
471
471
action->setWhatsThis( hint );
473
473
action = new KAction(i18n("Ed&it Files"), this);
474
474
actionCollection()->addAction("edit_files", action );
475
connect(action, SIGNAL(triggered(bool) ), SLOT(slotEdit()));
475
connect(action, SIGNAL(triggered(bool)), SLOT(slotEdit()));
476
476
hint = i18n("Edits (cvs edit) the selected files");
477
477
action->setToolTip( hint );
478
478
action->setWhatsThis( hint );
480
480
action = new KAction(i18n("U&nedit Files"), this);
481
481
actionCollection()->addAction("unedit_files", action );
482
connect(action, SIGNAL(triggered(bool) ), SLOT(slotUnedit()));
482
connect(action, SIGNAL(triggered(bool)), SLOT(slotUnedit()));
483
483
hint = i18n("Unedits (cvs unedit) the selected files");
484
484
action->setToolTip( hint );
485
485
action->setWhatsThis( hint );
487
487
action = new KAction(i18n("Show &Editors"), this);
488
488
actionCollection()->addAction("show_editors", action );
489
connect(action, SIGNAL(triggered(bool) ), SLOT(slotShowEditors()));
489
connect(action, SIGNAL(triggered(bool)), SLOT(slotShowEditors()));
490
490
hint = i18n("Shows the editors of the selected files");
491
491
action->setToolTip( hint );
492
492
action->setWhatsThis( hint );
494
494
action = new KAction(i18n("&Lock Files"), this);
495
495
actionCollection()->addAction("lock_files", action );
496
connect(action, SIGNAL(triggered(bool) ), SLOT(slotLock()));
496
connect(action, SIGNAL(triggered(bool)), SLOT(slotLock()));
497
497
hint = i18n("Locks the selected files, so that others cannot modify them");
498
498
action->setToolTip( hint );
499
499
action->setWhatsThis( hint );
501
501
action = new KAction(i18n("Unl&ock Files"), this);
502
502
actionCollection()->addAction("unlock_files", action );
503
connect(action, SIGNAL(triggered(bool) ), SLOT(slotUnlock()));
503
connect(action, SIGNAL(triggered(bool)), SLOT(slotUnlock()));
504
504
hint = i18n("Unlocks the selected files");
505
505
action->setToolTip( hint );
506
506
action->setWhatsThis( hint );
508
508
action = new KAction(i18n("Create &Patch Against Repository..."), this);
509
509
actionCollection()->addAction("make_patch", action );
510
connect(action, SIGNAL(triggered(bool) ), SLOT(slotMakePatch()));
510
connect(action, SIGNAL(triggered(bool)), SLOT(slotMakePatch()));
511
511
hint = i18n("Creates a patch from the modifications in your sandbox");
512
512
action->setToolTip( hint );
513
513
action->setWhatsThis( hint );
518
518
action = new KAction(i18n("&Create..."), this);
519
519
actionCollection()->addAction("repository_create", action );
520
connect(action, SIGNAL(triggered(bool) ), SLOT(slotCreateRepository()));
520
connect(action, SIGNAL(triggered(bool)), SLOT(slotCreateRepository()));
522
522
action = new KAction(i18n("&Checkout..."), this);
523
523
actionCollection()->addAction("repository_checkout", action );
524
connect(action, SIGNAL(triggered(bool) ), SLOT(slotCheckout()));
524
connect(action, SIGNAL(triggered(bool)), SLOT(slotCheckout()));
525
525
hint = i18n("Allows you to checkout a module from a repository");
526
526
action->setToolTip( hint );
527
527
action->setWhatsThis( hint );
529
529
action = new KAction(i18n("&Import..."), this);
530
530
actionCollection()->addAction("repository_import", action );
531
connect(action, SIGNAL(triggered(bool) ), SLOT(slotImport()));
531
connect(action, SIGNAL(triggered(bool)), SLOT(slotImport()));
532
532
hint = i18n("Allows you to import a module into a repository");
533
533
action->setToolTip( hint );
534
534
action->setWhatsThis( hint );
536
536
action = new KAction(i18n("&Repositories..."), this);
537
537
actionCollection()->addAction("show_repositories", action );
538
connect(action, SIGNAL(triggered(bool) ), SLOT(slotRepositories()));
538
connect(action, SIGNAL(triggered(bool)), SLOT(slotRepositories()));
539
539
hint = i18n("Configures a list of repositories you regularly use");
540
540
action->setToolTip( hint );
541
541
action->setWhatsThis( hint );
561
561
action = new KToggleAction(i18n("Hide Removed Files"), this);
562
562
actionCollection()->addAction("settings_hide_removed", action );
563
connect(action, SIGNAL(triggered(bool) ), SLOT(slotHideRemoved()));
563
connect(action, SIGNAL(triggered(bool)), SLOT(slotHideRemoved()));
564
564
hint = i18n("Determines whether removed files are hidden");
565
565
action->setToolTip( hint );
566
566
action->setWhatsThis( hint );
568
568
action = new KToggleAction(i18n("Hide Non-CVS Files"), this);
569
569
actionCollection()->addAction("settings_hide_notincvs", action );
570
connect(action, SIGNAL(triggered(bool) ), SLOT(slotHideNotInCVS()));
570
connect(action, SIGNAL(triggered(bool)), SLOT(slotHideNotInCVS()));
571
571
hint = i18n("Determines whether files not in CVS are hidden");
572
572
action->setToolTip( hint );
573
573
action->setWhatsThis( hint );
575
575
action = new KToggleAction(i18n("Hide Empty Folders"), this);
576
576
actionCollection()->addAction("settings_hide_empty_directories", action );
577
connect(action, SIGNAL(triggered(bool) ), SLOT(slotHideEmptyDirectories()));
577
connect(action, SIGNAL(triggered(bool)), SLOT(slotHideEmptyDirectories()));
578
578
hint = i18n("Determines whether folders without visible entries are hidden");
579
579
action->setToolTip( hint );
580
580
action->setWhatsThis( hint );
582
582
action = new KToggleAction(i18n("Create &Folders on Update"), this);
583
583
actionCollection()->addAction("settings_create_dirs", action );
584
connect(action, SIGNAL(triggered(bool) ), SLOT(slotCreateDirs()));
584
connect(action, SIGNAL(triggered(bool)), SLOT(slotCreateDirs()));
585
585
hint = i18n("Determines whether updates create folders");
586
586
action->setToolTip( hint );
587
587
action->setWhatsThis( hint );
589
589
action = new KToggleAction(i18n("&Prune Empty Folders on Update"), this);
590
590
actionCollection()->addAction("settings_prune_dirs", action );
591
connect(action, SIGNAL(triggered(bool) ), SLOT(slotPruneDirs()));
591
connect(action, SIGNAL(triggered(bool)), SLOT(slotPruneDirs()));
592
592
hint = i18n("Determines whether updates remove empty folders");
593
593
action->setToolTip( hint );
594
594
action->setWhatsThis( hint );
596
596
action = new KToggleAction(i18n("&Update Recursively"), this);
597
597
actionCollection()->addAction("settings_update_recursively", action );
598
connect(action, SIGNAL(triggered(bool) ), SLOT(slotUpdateRecursive()));
598
connect(action, SIGNAL(triggered(bool)), SLOT(slotUpdateRecursive()));
599
599
hint = i18n("Determines whether updates are recursive");
600
600
action->setToolTip( hint );
601
601
action->setWhatsThis( hint );
603
603
action = new KToggleAction(i18n("C&ommit && Remove Recursively"), this);
604
604
actionCollection()->addAction("settings_commit_recursively", action );
605
connect(action, SIGNAL(triggered(bool) ), SLOT(slotCommitRecursive()));
605
connect(action, SIGNAL(triggered(bool)), SLOT(slotCommitRecursive()));
606
606
hint = i18n("Determines whether commits and removes are recursive");
607
607
action->setToolTip( hint );
608
608
action->setWhatsThis( hint );
610
610
action = new KToggleAction(i18n("Do cvs &edit Automatically When Necessary"), this);
611
611
actionCollection()->addAction("settings_do_cvs_edit", action );
612
connect(action, SIGNAL(triggered(bool) ), SLOT(slotDoCVSEdit()));
612
connect(action, SIGNAL(triggered(bool)), SLOT(slotDoCVSEdit()));
613
613
hint = i18n("Determines whether automatic cvs editing is active");
614
614
action->setToolTip( hint );
615
615
action->setWhatsThis( hint );
617
617
action = new KAction(KIcon("configure"), i18n("Configure Cervisia..."), this);
618
618
actionCollection()->addAction("configure_cervisia", action );
619
connect(action, SIGNAL(triggered(bool) ), SLOT(slotConfigure()));
619
connect(action, SIGNAL(triggered(bool)), SLOT(slotConfigure()));
620
620
hint = i18n("Allows you to configure the Cervisia KPart");
621
621
action->setToolTip( hint );
622
622
action->setWhatsThis( hint );