-rw-r--r-- | kabc/addressee.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kabc/addressee.cpp b/kabc/addressee.cpp index d484073..6b282e2 100644 --- a/kabc/addressee.cpp +++ b/kabc/addressee.cpp | |||
@@ -355,256 +355,260 @@ QDateTime Addressee::birthday() const | |||
355 | return mData->birthday; | 355 | return mData->birthday; |
356 | } | 356 | } |
357 | 357 | ||
358 | QString Addressee::birthdayLabel() | 358 | QString Addressee::birthdayLabel() |
359 | { | 359 | { |
360 | return i18n("Birthday"); | 360 | return i18n("Birthday"); |
361 | } | 361 | } |
362 | 362 | ||
363 | 363 | ||
364 | QString Addressee::homeAddressStreetLabel() | 364 | QString Addressee::homeAddressStreetLabel() |
365 | { | 365 | { |
366 | return i18n("Home Address Street"); | 366 | return i18n("Home Address Street"); |
367 | } | 367 | } |
368 | 368 | ||
369 | 369 | ||
370 | QString Addressee::homeAddressLocalityLabel() | 370 | QString Addressee::homeAddressLocalityLabel() |
371 | { | 371 | { |
372 | return i18n("Home Address Locality"); | 372 | return i18n("Home Address Locality"); |
373 | } | 373 | } |
374 | 374 | ||
375 | 375 | ||
376 | QString Addressee::homeAddressRegionLabel() | 376 | QString Addressee::homeAddressRegionLabel() |
377 | { | 377 | { |
378 | return i18n("Home Address Region"); | 378 | return i18n("Home Address Region"); |
379 | } | 379 | } |
380 | 380 | ||
381 | 381 | ||
382 | QString Addressee::homeAddressPostalCodeLabel() | 382 | QString Addressee::homeAddressPostalCodeLabel() |
383 | { | 383 | { |
384 | return i18n("Home Address Postal Code"); | 384 | return i18n("Home Address Postal Code"); |
385 | } | 385 | } |
386 | 386 | ||
387 | 387 | ||
388 | QString Addressee::homeAddressCountryLabel() | 388 | QString Addressee::homeAddressCountryLabel() |
389 | { | 389 | { |
390 | return i18n("Home Address Country"); | 390 | return i18n("Home Address Country"); |
391 | } | 391 | } |
392 | 392 | ||
393 | 393 | ||
394 | QString Addressee::homeAddressLabelLabel() | 394 | QString Addressee::homeAddressLabelLabel() |
395 | { | 395 | { |
396 | return i18n("Home Address Label"); | 396 | return i18n("Home Address Label"); |
397 | } | 397 | } |
398 | 398 | ||
399 | 399 | ||
400 | QString Addressee::businessAddressStreetLabel() | 400 | QString Addressee::businessAddressStreetLabel() |
401 | { | 401 | { |
402 | return i18n("Business Address Street"); | 402 | return i18n("Business Address Street"); |
403 | } | 403 | } |
404 | 404 | ||
405 | 405 | ||
406 | QString Addressee::businessAddressLocalityLabel() | 406 | QString Addressee::businessAddressLocalityLabel() |
407 | { | 407 | { |
408 | return i18n("Business Address Locality"); | 408 | return i18n("Business Address Locality"); |
409 | } | 409 | } |
410 | 410 | ||
411 | 411 | ||
412 | QString Addressee::businessAddressRegionLabel() | 412 | QString Addressee::businessAddressRegionLabel() |
413 | { | 413 | { |
414 | return i18n("Business Address Region"); | 414 | return i18n("Business Address Region"); |
415 | } | 415 | } |
416 | 416 | ||
417 | 417 | ||
418 | QString Addressee::businessAddressPostalCodeLabel() | 418 | QString Addressee::businessAddressPostalCodeLabel() |
419 | { | 419 | { |
420 | return i18n("Business Address Postal Code"); | 420 | return i18n("Business Address Postal Code"); |
421 | } | 421 | } |
422 | 422 | ||
423 | 423 | ||
424 | QString Addressee::businessAddressCountryLabel() | 424 | QString Addressee::businessAddressCountryLabel() |
425 | { | 425 | { |
426 | return i18n("Business Address Country"); | 426 | return i18n("Business Address Country"); |
427 | } | 427 | } |
428 | 428 | ||
429 | 429 | ||
430 | QString Addressee::businessAddressLabelLabel() | 430 | QString Addressee::businessAddressLabelLabel() |
431 | { | 431 | { |
432 | return i18n("Business Address Label"); | 432 | return i18n("Business Address Label"); |
433 | } | 433 | } |
434 | 434 | ||
435 | 435 | ||
436 | QString Addressee::homePhoneLabel() | 436 | QString Addressee::homePhoneLabel() |
437 | { | 437 | { |
438 | return i18n("Home Phone"); | 438 | return i18n("Home Phone"); |
439 | } | 439 | } |
440 | 440 | ||
441 | 441 | ||
442 | QString Addressee::businessPhoneLabel() | 442 | QString Addressee::businessPhoneLabel() |
443 | { | 443 | { |
444 | return i18n("Business Phone"); | 444 | return i18n("Business Phone"); |
445 | } | 445 | } |
446 | 446 | ||
447 | 447 | ||
448 | QString Addressee::mobilePhoneLabel() | 448 | QString Addressee::mobilePhoneLabel() |
449 | { | 449 | { |
450 | return i18n("Mobile Phone"); | 450 | return i18n("Mobile Phone"); |
451 | } | 451 | } |
452 | 452 | ||
453 | 453 | ||
454 | QString Addressee::homeFaxLabel() | 454 | QString Addressee::homeFaxLabel() |
455 | { | 455 | { |
456 | return i18n("Home Fax"); | 456 | return i18n("Home Fax"); |
457 | } | 457 | } |
458 | 458 | ||
459 | 459 | ||
460 | QString Addressee::businessFaxLabel() | 460 | QString Addressee::businessFaxLabel() |
461 | { | 461 | { |
462 | return i18n("Business Fax"); | 462 | return i18n("Business Fax"); |
463 | } | 463 | } |
464 | 464 | ||
465 | 465 | ||
466 | QString Addressee::carPhoneLabel() | 466 | QString Addressee::carPhoneLabel() |
467 | { | 467 | { |
468 | return i18n("Car Phone"); | 468 | return i18n("Car Phone"); |
469 | } | 469 | } |
470 | 470 | ||
471 | 471 | ||
472 | QString Addressee::isdnLabel() | 472 | QString Addressee::isdnLabel() |
473 | { | 473 | { |
474 | return i18n("ISDN"); | 474 | return i18n("ISDN"); |
475 | } | 475 | } |
476 | 476 | ||
477 | 477 | ||
478 | QString Addressee::pagerLabel() | 478 | QString Addressee::pagerLabel() |
479 | { | 479 | { |
480 | return i18n("Pager"); | 480 | return i18n("Pager"); |
481 | } | 481 | } |
482 | 482 | ||
483 | QString Addressee::sipLabel() | ||
484 | { | ||
485 | return i18n("SIP"); | ||
486 | } | ||
483 | 487 | ||
484 | QString Addressee::emailLabel() | 488 | QString Addressee::emailLabel() |
485 | { | 489 | { |
486 | return i18n("Email Address"); | 490 | return i18n("Email Address"); |
487 | } | 491 | } |
488 | 492 | ||
489 | 493 | ||
490 | void Addressee::setMailer( const QString &mailer ) | 494 | void Addressee::setMailer( const QString &mailer ) |
491 | { | 495 | { |
492 | if ( mailer == mData->mailer ) return; | 496 | if ( mailer == mData->mailer ) return; |
493 | detach(); | 497 | detach(); |
494 | mData->empty = false; | 498 | mData->empty = false; |
495 | mData->mailer = mailer; | 499 | mData->mailer = mailer; |
496 | } | 500 | } |
497 | 501 | ||
498 | QString Addressee::mailer() const | 502 | QString Addressee::mailer() const |
499 | { | 503 | { |
500 | return mData->mailer; | 504 | return mData->mailer; |
501 | } | 505 | } |
502 | 506 | ||
503 | QString Addressee::mailerLabel() | 507 | QString Addressee::mailerLabel() |
504 | { | 508 | { |
505 | return i18n("Mail Client"); | 509 | return i18n("Mail Client"); |
506 | } | 510 | } |
507 | 511 | ||
508 | 512 | ||
509 | void Addressee::setTimeZone( const TimeZone &timeZone ) | 513 | void Addressee::setTimeZone( const TimeZone &timeZone ) |
510 | { | 514 | { |
511 | if ( timeZone == mData->timeZone ) return; | 515 | if ( timeZone == mData->timeZone ) return; |
512 | detach(); | 516 | detach(); |
513 | mData->empty = false; | 517 | mData->empty = false; |
514 | mData->timeZone = timeZone; | 518 | mData->timeZone = timeZone; |
515 | } | 519 | } |
516 | 520 | ||
517 | TimeZone Addressee::timeZone() const | 521 | TimeZone Addressee::timeZone() const |
518 | { | 522 | { |
519 | return mData->timeZone; | 523 | return mData->timeZone; |
520 | } | 524 | } |
521 | 525 | ||
522 | QString Addressee::timeZoneLabel() | 526 | QString Addressee::timeZoneLabel() |
523 | { | 527 | { |
524 | return i18n("Time Zone"); | 528 | return i18n("Time Zone"); |
525 | } | 529 | } |
526 | 530 | ||
527 | 531 | ||
528 | void Addressee::setGeo( const Geo &geo ) | 532 | void Addressee::setGeo( const Geo &geo ) |
529 | { | 533 | { |
530 | if ( geo == mData->geo ) return; | 534 | if ( geo == mData->geo ) return; |
531 | detach(); | 535 | detach(); |
532 | mData->empty = false; | 536 | mData->empty = false; |
533 | mData->geo = geo; | 537 | mData->geo = geo; |
534 | } | 538 | } |
535 | 539 | ||
536 | Geo Addressee::geo() const | 540 | Geo Addressee::geo() const |
537 | { | 541 | { |
538 | return mData->geo; | 542 | return mData->geo; |
539 | } | 543 | } |
540 | 544 | ||
541 | QString Addressee::geoLabel() | 545 | QString Addressee::geoLabel() |
542 | { | 546 | { |
543 | return i18n("Geographic Position"); | 547 | return i18n("Geographic Position"); |
544 | } | 548 | } |
545 | 549 | ||
546 | 550 | ||
547 | void Addressee::setTitle( const QString &title ) | 551 | void Addressee::setTitle( const QString &title ) |
548 | { | 552 | { |
549 | if ( title == mData->title ) return; | 553 | if ( title == mData->title ) return; |
550 | detach(); | 554 | detach(); |
551 | mData->empty = false; | 555 | mData->empty = false; |
552 | mData->title = title; | 556 | mData->title = title; |
553 | } | 557 | } |
554 | 558 | ||
555 | QString Addressee::title() const | 559 | QString Addressee::title() const |
556 | { | 560 | { |
557 | return mData->title; | 561 | return mData->title; |
558 | } | 562 | } |
559 | 563 | ||
560 | QString Addressee::titleLabel() | 564 | QString Addressee::titleLabel() |
561 | { | 565 | { |
562 | return i18n("Title"); | 566 | return i18n("Title"); |
563 | } | 567 | } |
564 | 568 | ||
565 | 569 | ||
566 | void Addressee::setRole( const QString &role ) | 570 | void Addressee::setRole( const QString &role ) |
567 | { | 571 | { |
568 | if ( role == mData->role ) return; | 572 | if ( role == mData->role ) return; |
569 | detach(); | 573 | detach(); |
570 | mData->empty = false; | 574 | mData->empty = false; |
571 | mData->role = role; | 575 | mData->role = role; |
572 | } | 576 | } |
573 | 577 | ||
574 | QString Addressee::role() const | 578 | QString Addressee::role() const |
575 | { | 579 | { |
576 | return mData->role; | 580 | return mData->role; |
577 | } | 581 | } |
578 | 582 | ||
579 | QString Addressee::roleLabel() | 583 | QString Addressee::roleLabel() |
580 | { | 584 | { |
581 | return i18n("Role"); | 585 | return i18n("Role"); |
582 | } | 586 | } |
583 | 587 | ||
584 | 588 | ||
585 | void Addressee::setOrganization( const QString &organization ) | 589 | void Addressee::setOrganization( const QString &organization ) |
586 | { | 590 | { |
587 | if ( organization == mData->organization ) return; | 591 | if ( organization == mData->organization ) return; |
588 | detach(); | 592 | detach(); |
589 | mData->empty = false; | 593 | mData->empty = false; |
590 | mData->organization = organization; | 594 | mData->organization = organization; |
591 | } | 595 | } |
592 | 596 | ||
593 | QString Addressee::organization() const | 597 | QString Addressee::organization() const |
594 | { | 598 | { |
595 | return mData->organization; | 599 | return mData->organization; |
596 | } | 600 | } |
597 | 601 | ||
598 | QString Addressee::organizationLabel() | 602 | QString Addressee::organizationLabel() |
599 | { | 603 | { |
600 | return i18n("Organization"); | 604 | return i18n("Organization"); |
601 | } | 605 | } |
602 | 606 | ||
603 | 607 | ||
604 | void Addressee::setNote( const QString ¬e ) | 608 | void Addressee::setNote( const QString ¬e ) |
605 | { | 609 | { |
606 | if ( note == mData->note ) return; | 610 | if ( note == mData->note ) return; |
607 | detach(); | 611 | detach(); |
608 | mData->empty = false; | 612 | mData->empty = false; |
609 | mData->note = note; | 613 | mData->note = note; |
610 | } | 614 | } |