-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 | |||
@@ -387,192 +387,196 @@ QString Addressee::homeAddressPostalCodeLabel() | |||
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 | ||